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