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