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]); 262X509Certificate2? caCert = _privateIntermediateCertificates.Length > 0 ? _privateIntermediateCertificates[0] : _rootCertificate; 282IntPtr[] issuerHandles = ArrayPool<IntPtr>.Shared.Rent(_privateIntermediateCertificates.Length + 1); 283for (int i = 0; i < _privateIntermediateCertificates.Length; i++) 285issuerHandles[i] = _privateIntermediateCertificates[i].Handle; 287issuerHandles[_privateIntermediateCertificates.Length] = _rootCertificate.Handle; 314if (!Interop.Crypto.X509DecodeOcspToExpiration(ret, ocspRequest, subject, issuerHandles.AsSpan(0, _privateIntermediateCertificates.Length + 1), out DateTimeOffset expiration)) 347GC.KeepAlive(_privateIntermediateCertificates);