1 write to TargetCertificate
System.Net.Security (1)
System\Net\Security\SslStreamCertificateContext.Linux.cs (1)
75TargetCertificate = target;
13 references to TargetCertificate
System.Net.Quic (2)
System\Net\Quic\Internal\MsQuicConfiguration.cs (2)
37certificate = authenticationOptions.ClientCertificateContext.TargetCertificate; 104certificate = authenticationOptions.ServerCertificateContext.TargetCertificate;
System.Net.Security (11)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
162var key = new SslContextCacheKey(protocols, sslAuthenticationOptions.CertificateContext?.TargetCertificate.GetCertHash(HashAlgorithmName.SHA256));
System\Net\Security\SslStream.Protocol.cs (6)
84return _sslAuthenticationOptions.CertificateContext?.TargetCertificate; 333_selectedClientCertificate = _sslAuthenticationOptions.CertificateContext.TargetCertificate; 335return _sslAuthenticationOptions.CertificateContext.TargetCertificate; 699tempCollection.Add(_sslAuthenticationOptions.CertificateContext!.TargetCertificate!); 714selectedCert = _sslAuthenticationOptions.CertificateContext.TargetCertificate; 799DateTime expiry = certificateContext.TargetCertificate.NotAfter;
System\Net\Security\SslStreamCertificateContext.cs (1)
172return new SslStreamCertificateContext(new X509Certificate2(TargetCertificate), IntermediateCertificates, Trust);
System\Net\Security\SslStreamCertificateContext.Linux.cs (3)
216foreach (X509Extension ext in TargetCertificate.Extensions) 268IntPtr subject = TargetCertificate.Handle; 346GC.KeepAlive(TargetCertificate);