2 writes to _cert
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (2)
247_cert = handle; 761_cert = null!;
18 references to _cert
System.Security.Cryptography (18)
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (18)
257get { return _cert == null ? IntPtr.Zero : _cert.DangerousGetHandle(); } 262get { return _cert; } 299return Interop.Crypto.GetX509Thumbprint(_cert); 318return Interop.Crypto.GetX509PublicKeyParameterBytes(_cert); 337using (SafeSharedAsn1IntegerHandle serialNumber = Interop.Crypto.X509GetSerialNumber(_cert)) 383_cert); 391int version = Interop.Crypto.GetX509Version(_cert); 573using (SafeEvpPKeyHandle publicKeyHandle = Interop.Crypto.GetX509EvpPublicKey(_cert)) 583using (SafeEvpPKeyHandle publicKeyHandle = Interop.Crypto.GetX509EvpPublicKey(_cert)) 615SafeX509Handle certHandle = Interop.Crypto.X509UpRef(_cert); 705using (SafeBioHandle bioHandle = Interop.Crypto.GetX509NameInfo(_cert, (int)nameType, forIssuer)) 758if (_cert != null) 760_cert.Dispose(); 767SafeX509Handle certHandle = Interop.Crypto.X509UpRef(_cert); 853_cert.DangerousAddRef(ref addedRef); 854return callback(_cert); 860_cert.DangerousRelease();