4 references to FindCertificateWithPrivateKey
System.Net.Security (4)
System\Net\Security\SslAuthenticationOptions.cs (1)
178certificateWithKey = SslStream.FindCertificateWithPrivateKey(this, true, sslServerAuthenticationOptions.ServerCertificate);
System\Net\Security\SslStream.Protocol.cs (2)
489if ((selectedCert = FindCertificateWithPrivateKey(this, _sslAuthenticationOptions.IsServer, clientCertificate)) != null) 701selectedCert = FindCertificateWithPrivateKey(this, _sslAuthenticationOptions.IsServer, localCertificate);
System\Net\Security\TlsSession.cs (1)
1645X509Certificate2? withKey = SslStream.FindCertificateWithPrivateKey(this, isServer: true, selected);