Home
last modified time | relevance | path

Searched refs:clientCertificates (Results 1 – 25 of 68) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Security/tests/FunctionalTests/
H A DSslStreamSystemDefaultsTest.cs34 …thenticateClientAsync(string targetHost, X509CertificateCollection clientCertificates, bool checkC… in AuthenticateClientAsync() argument
54 var clientCertificates = new X509CertificateCollection();
55 clientCertificates.Add(Configuration.Certificates.GetClientCertificate());
58 …tasks[0] = AuthenticateClientAsync(serverHost, clientCertificates, checkCertificateRevocation: fal…
127 …thenticateClientAsync(string targetHost, X509CertificateCollection clientCertificates, bool checkC… in AuthenticateClientAsync() argument
132 …_clientStream.AuthenticateAsClient(targetHost, clientCertificates, protocols.Value, checkCertifica… in AuthenticateClientAsync()
136 … _clientStream.AuthenticateAsClient(targetHost, clientCertificates, checkCertificateRevocation); in AuthenticateClientAsync()
159 …_clientStream.BeginAuthenticateAsClient(targetHost, clientCertificates, protocols.Value, checkCert… in AuthenticateClientAsync()
160 …_clientStream.BeginAuthenticateAsClient(targetHost, clientCertificates, checkCertificateRevocation… in AuthenticateClientAsync()
177 …_clientStream.AuthenticateAsClientAsync(targetHost, clientCertificates, protocols.Value, checkCert… in AuthenticateClientAsync()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Mono.Net.Security/
H A DMobileTlsContext.cs41 X509CertificateCollection clientCertificates; field in Mono.Net.Security.MobileTlsContext
48 X509CertificateCollection clientCertificates, bool askForClientCert) in MobileTlsContext() argument
55 this.clientCertificates = clientCertificates; in MobileTlsContext()
116 get { return clientCertificates; }
194 if (clientCertificates == null || clientCertificates.Count == 0) in SelectClientCertificate()
197 if (clientCertificates.Count == 1) in SelectClientCertificate()
198 return clientCertificates [0]; in SelectClientCertificate()
H A DLegacySslStream.cs334 …AuthenticateAsClient (string targetHost, X509CertificateCollection clientCertificates, SslProtocol… in BeginAuthenticateAsClient() argument
339 …, targetHost, !LeaveInnerStreamOpen, GetMonoSslProtocol (enabledSslProtocols), clientCertificates); in BeginAuthenticateAsClient()
350 foreach (X509Certificate cc in clientCertificates) { in BeginAuthenticateAsClient()
445 …AuthenticateAsClient (string targetHost, X509CertificateCollection clientCertificates, SslProtocol… in AuthenticateAsClient() argument
448 targetHost, clientCertificates, enabledSslProtocols, checkCertificateRevocation, null, null)); in AuthenticateAsClient()
549 …nticateAsClientAsync (string targetHost, X509CertificateCollection clientCertificates, SslProtocol… in AuthenticateAsClientAsync() argument
551 …var t = Tuple.Create (targetHost, clientCertificates, enabledSslProtocols, checkCertificateRevocat… in AuthenticateAsClientAsync()
H A DMobileAuthenticatedStream.cs134 …public void AuthenticateAsClient (string targetHost, X509CertificateCollection clientCertificates,… in AuthenticateAsClient() argument
136 …cessAuthentication (true, false, targetHost, enabledSslProtocols, null, clientCertificates, false); in AuthenticateAsClient()
145 …AuthenticateAsClient (string targetHost, X509CertificateCollection clientCertificates, SslProtocol… in BeginAuthenticateAsClient() argument
147 …essAuthentication (false, false, targetHost, enabledSslProtocols, null, clientCertificates, false); in BeginAuthenticateAsClient()
188 …nticateAsClientAsync (string targetHost, X509CertificateCollection clientCertificates, SslProtocol… in AuthenticateAsClientAsync() argument
190 …essAuthentication (false, false, targetHost, enabledSslProtocols, null, clientCertificates, false); in AuthenticateAsClientAsync()
224 …X509Certificate serverCertificate, X509CertificateCollection clientCertificates, bool clientCertRe… in ProcessAuthentication() argument
259 clientCertificates, clientCertRequired); in ProcessAuthentication()
283 X509Certificate serverCertificate, X509CertificateCollection clientCertificates, in CreateContext() argument
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Security/tests/UnitTests/
H A DSslStreamAllowedProtocolsTest.cs19 …string targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols,… in AuthenticateAsClient() argument
92 …string targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols,… in AuthenticateAsClient() argument
94 …Task t = stream.AuthenticateAsClientAsync(targetHost, clientCertificates, enabledSslProtocols, che… in AuthenticateAsClient()
106 …string targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols,… in AuthenticateAsClient() argument
108 …IAsyncResult iar = stream.BeginAuthenticateAsClient(targetHost, clientCertificates, enabledSslProt… in AuthenticateAsClient()
120 …string targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols,… in AuthenticateAsClient() argument
122 …stream.AuthenticateAsClient(targetHost, clientCertificates, enabledSslProtocols, checkCertificateR… in AuthenticateAsClient()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web.Services/System.Web.Services.Protocols/
H A DHttpWebClientProtocol.cs46 X509CertificateCollection clientCertificates; field in System.Web.Services.Protocols.HttpWebClientProtocol
59 clientCertificates = null; in HttpWebClientProtocol()
81 if (clientCertificates == null)
82 clientCertificates = new X509CertificateCollection ();
83 return clientCertificates;
157 if (clientCertificates != null) in GetWebRequest()
158 request.ClientCertificates.AddRange (clientCertificates); in GetWebRequest()
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/
H A DTlsClientCertificate.cs37 private X509CertificateCollection clientCertificates; field in Mono.Security.Protocol.Tls.Handshake.Server.TlsClientCertificate
54 foreach (X509Certificate certificate in clientCertificates) { in Update()
60 get { return clientCertificates.Count > 0; }
76 this.clientCertificates = new X509CertificateCollection (); in ProcessAsTls1()
81 this.clientCertificates.Add (new X509Certificate (cert)); in ProcessAsTls1()
84 if (this.clientCertificates.Count > 0) in ProcessAsTls1()
86 this.validateCertificates (this.clientCertificates); in ProcessAsTls1()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/Mono.Security.Protocol.Tls/
H A DSslClientStream.cs73 X509CertificateCollection clientCertificates, in CertificateSelectionCallback() argument
163 X509CertificateCollection clientCertificates) : in SslClientStream() argument
166 clientCertificates) in SslClientStream()
186 X509CertificateCollection clientCertificates): in SslClientStream() argument
198 clientCertificates); in SslClientStream()
393 …9Certificate OnLocalCertificateSelection(X509CertificateCollection clientCertificates, X509Certifi… in OnLocalCertificateSelection() argument
398 clientCertificates, in OnLocalCertificateSelection()
442 X509CertificateCollection clientCertificates, in RaiseClientCertificateSelection() argument
447 …return base.RaiseLocalCertificateSelection(clientCertificates, serverCertificate, targetHost, serv… in RaiseClientCertificateSelection()
H A DClientContext.cs62 X509CertificateCollection clientCertificates) in ClientContext() argument
66 this.ClientSettings.Certificates = clientCertificates; in ClientContext()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/SecureProtocols/
H A DSslStream.cs131 … AuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, bool checkC… in AuthenticateAsClient() argument
133 …AuthenticateAsClient(targetHost, clientCertificates, ServicePointManager.DefaultSslProtocols, fals… in AuthenticateAsClient()
137 … AuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, SslProtocol… in AuthenticateAsClient() argument
139 …alidateCreateContext(false, targetHost, enabledSslProtocols, null, clientCertificates, true, check… in AuthenticateAsClient()
153 …ncResult BeginAuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, in BeginAuthenticateAsClient() argument
157 …return BeginAuthenticateAsClient(targetHost, clientCertificates, ServicePointManager.DefaultSslPro… in BeginAuthenticateAsClient()
163 …ncResult BeginAuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, in BeginAuthenticateAsClient() argument
167 …alidateCreateContext(false, targetHost, enabledSslProtocols, null, clientCertificates, true, check… in BeginAuthenticateAsClient()
276 …enticateAsClientAsync(string targetHost, X509CertificateCollection clientCertificates, bool checkC… in AuthenticateAsClientAsync() argument
278 …return AuthenticateAsClientAsync(targetHost, clientCertificates, ServicePointManager.DefaultSslPro… in AuthenticateAsClientAsync()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/Mono.Security.Protocol.Tls.Handshake.Server/
H A DTlsClientCertificate.cs37 private X509CertificateCollection clientCertificates; field in Mono.Security.Protocol.Tls.Handshake.Server.TlsClientCertificate
54 foreach (X509Certificate certificate in clientCertificates) { in Update()
72 this.clientCertificates = new X509CertificateCollection (); in ProcessAsTls1()
77 this.clientCertificates.Add (new X509Certificate (cert)); in ProcessAsTls1()
80 if (this.clientCertificates.Count > 0) in ProcessAsTls1()
82 this.validateCertificates (this.clientCertificates); in ProcessAsTls1()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Net.Http.WebRequest/System.Net.Http.WebRequest/
H A DWebRequestHandler.cs45 X509CertificateCollection clientCertificates; field in System.Net.Http.WebRequestHandler
58 clientCertificates = new X509CertificateCollection(); in WebRequestHandler()
91 return clientCertificates;
158 wr.ClientCertificates = clientCertificates; in CreateWebRequest()
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/
H A DSslClientStream.cs63 X509CertificateCollection clientCertificates, in CertificateSelectionCallback() argument
163 X509CertificateCollection clientCertificates) : in SslClientStream() argument
166 clientCertificates) in SslClientStream()
186 X509CertificateCollection clientCertificates): in SslClientStream() argument
198 clientCertificates); in SslClientStream()
583 …9Certificate OnLocalCertificateSelection(X509CertificateCollection clientCertificates, X509Certifi… in OnLocalCertificateSelection() argument
588 clientCertificates, in OnLocalCertificateSelection()
632 X509CertificateCollection clientCertificates, in RaiseClientCertificateSelection() argument
637 …return base.RaiseLocalCertificateSelection(clientCertificates, serverCertificate, targetHost, serv… in RaiseClientCertificateSelection()
H A DClientContext.cs62 X509CertificateCollection clientCertificates) in ClientContext() argument
66 this.ClientSettings.Certificates = clientCertificates; in ClientContext()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Security/src/System/Net/Security/
H A DSslStream.cs153 …ncResult BeginAuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, in BeginAuthenticateAsClient() argument
156 …return BeginAuthenticateAsClient(targetHost, clientCertificates, SecurityProtocol.SystemDefaultSec… in BeginAuthenticateAsClient()
159 …ncResult BeginAuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, in BeginAuthenticateAsClient() argument
166 ClientCertificates = clientCertificates, in BeginAuthenticateAsClient()
280 … AuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, bool checkC… in AuthenticateAsClient() argument
282 …AuthenticateAsClient(targetHost, clientCertificates, SecurityProtocol.SystemDefaultSecurityProtoco… in AuthenticateAsClient()
285 … AuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, SslProtocol… in AuthenticateAsClient() argument
290 ClientCertificates = clientCertificates, in AuthenticateAsClient()
358 …enticateAsClientAsync(string targetHost, X509CertificateCollection clientCertificates, bool checkC… in AuthenticateAsClientAsync() argument
362 targetHost, clientCertificates, checkCertificateRevocation, in AuthenticateAsClientAsync()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net.Security/
H A DSslStream.cs152 …AuthenticateAsClient (string targetHost, X509CertificateCollection clientCertificates, SslProtocol… in AuthenticateAsClient() argument
154 …Impl.AuthenticateAsClient (targetHost, clientCertificates, enabledSslProtocols, checkCertificateRe… in AuthenticateAsClient()
164 …AuthenticateAsClient (string targetHost, X509CertificateCollection clientCertificates, SslProtocol… in BeginAuthenticateAsClient() argument
166 …return Impl.BeginAuthenticateAsClient (targetHost, clientCertificates, enabledSslProtocols, checkC… in BeginAuthenticateAsClient()
212 …nticateAsClientAsync (string targetHost, X509CertificateCollection clientCertificates, SslProtocol… in AuthenticateAsClientAsync() argument
214 …return Impl.AuthenticateAsClientAsync (targetHost, clientCertificates, enabledSslProtocols, checkC… in AuthenticateAsClientAsync()
437 …AuthenticateAsClient (string targetHost, X509CertificateCollection clientCertificates, SslProtocol…
447 …AuthenticateAsClient (string targetHost, X509CertificateCollection clientCertificates, SslProtocol…
491 …nticateAsClientAsync (string targetHost, X509CertificateCollection clientCertificates, SslProtocol…
H A DSslStream.platformnotsupported.cs86 …AuthenticateAsClient (string targetHost, X509CertificateCollection clientCertificates, SslProtocol… in AuthenticateAsClient() argument
96 …AuthenticateAsClient (string targetHost, X509CertificateCollection clientCertificates, SslProtocol… in BeginAuthenticateAsClient() argument
140 …nticateAsClientAsync (string targetHost, X509CertificateCollection clientCertificates, SslProtocol… in AuthenticateAsClientAsync() argument
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Security/Mono.Security.Interface/
H A DIMonoSslStream.cs48 …void AuthenticateAsClient (string targetHost, X509CertificateCollection clientCertificates, SSA.Ss… in AuthenticateAsClient() argument
52 …AuthenticateAsClient (string targetHost, X509CertificateCollection clientCertificates, SSA.SslProt… in BeginAuthenticateAsClient() argument
68 …Task AuthenticateAsClientAsync (string targetHost, X509CertificateCollection clientCertificates, S… in AuthenticateAsClientAsync() argument
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Mono.Btls/
H A DMonoBtlsStream.cs57 X509Certificate serverCertificate, X509CertificateCollection clientCertificates, in CreateContext() argument
63 clientCertificates, askForClientCert); in CreateContext()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.Services/System/Web/Services/Protocols/
H A DClientProtocol.cs725 private X509CertificateCollection clientCertificates; field in System.Web.Services.Protocols.HttpWebClientProtocol
751 this.clientCertificates = protocol.clientCertificates; in HttpWebClientProtocol()
789 if (clientCertificates == null) {
790 clientCertificates = new X509CertificateCollection();
792 return clientCertificates;
859 if (clientCertificates != null && clientCertificates.Count > 0) { in GetWebRequest()
860 httpRequest.ClientCertificates.AddRange(clientCertificates); in GetWebRequest()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Mono.AppleTls/
H A DAppleTlsStream.cs42 X509Certificate serverCertificate, X509CertificateCollection clientCertificates, in CreateContext() argument
48 clientCertificates, askForClientCert); in CreateContext()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/WebSockets/
H A DClientWebSocket.cs409 private X509CertificateCollection clientCertificates; field in System.Net.WebSockets.ClientWebSocketOptions
479 if (clientCertificates == null)
481 clientCertificates = new X509CertificateCollection();
483 return clientCertificates;
492 clientCertificates = value;
496 …nternal X509CertificateCollection InternalClientCertificates { get { return clientCertificates; } }
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/
H A D_TLSstream.cs35 …nationHost, NetworkStream networkStream, X509CertificateCollection clientCertificates, ServicePoin… in TlsStream() argument
48 …sStream", "host="+destinationHost+", #certs="+((clientCertificates == null) ? "none" : clientCerti… in TlsStream()
49 … ".ctor", "host="+destinationHost+", #certs="+((clientCertificates == null) ? "null" : clientCerti… in TlsStream()
55 m_ClientCertificates = clientCertificates; in TlsStream()
H A D_SecureChannel.cs90 …lags, X509Certificate serverCertificate, X509CertificateCollection clientCertificates, bool remote… in SecureChannel() argument
93 …tname:" + hostname + " #clientCertificates=" + ((clientCertificates == null) ? "0" : clientCertifi… in SecureChannel()
94 …name=" + hostname + ", #clientCertificates=" + ((clientCertificates == null) ? "0" : clientCertifi… in SecureChannel()
95 …SPI.Create(hostname, serverMode, protocolFlags, serverCertificate, clientCertificates, remoteCertR… in SecureChannel()
109 m_ClientCertificates = clientCertificates; in SecureChannel()
120 …lags, X509Certificate serverCertificate, X509CertificateCollection clientCertificates, bool remote… in SecureChannel() argument
123 …tname:" + hostname + " #clientCertificates=" + ((clientCertificates == null) ? "0" : clientCertifi… in SecureChannel()
124 …name=" + hostname + ", #clientCertificates=" + ((clientCertificates == null) ? "0" : clientCertifi… in SecureChannel()
140 m_ClientCertificates = clientCertificates; in SecureChannel()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/System/Net/
H A DTlsStream.cs19 …ream stream, Socket socket, string host, X509CertificateCollection clientCertificates) : base(sock… in TlsStream() argument
23 _clientCertificates = clientCertificates; in TlsStream()

123