2 writes to _privateIntermediateCertificates
System.Net.Security (2)
System\Net\Security\SslStreamCertificateContext.Linux.cs (2)
63
_privateIntermediateCertificates
= new X509Certificate2[intermediates.Count];
72
_privateIntermediateCertificates
= Array.Empty<X509Certificate2>();
9 references to _privateIntermediateCertificates
System.Net.Security (9)
System\Net\Security\SslStreamCertificateContext.Linux.cs (9)
67
_privateIntermediateCertificates
[i] = new X509Certificate2(intermediates[i]);
262
X509Certificate2? caCert =
_privateIntermediateCertificates
.Length > 0 ?
_privateIntermediateCertificates
[0] : _rootCertificate;
282
IntPtr[] issuerHandles = ArrayPool<IntPtr>.Shared.Rent(
_privateIntermediateCertificates
.Length + 1);
283
for (int i = 0; i <
_privateIntermediateCertificates
.Length; i++)
285
issuerHandles[i] =
_privateIntermediateCertificates
[i].Handle;
287
issuerHandles[
_privateIntermediateCertificates
.Length] = _rootCertificate.Handle;
314
if (!Interop.Crypto.X509DecodeOcspToExpiration(ret, ocspRequest, subject, issuerHandles.AsSpan(0,
_privateIntermediateCertificates
.Length + 1), out DateTimeOffset expiration))
347
GC.KeepAlive(
_privateIntermediateCertificates
);