7 instantiations of OpenSslX509CertificateReader
System.Security.Cryptography (7)
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (7)
30return new OpenSslX509CertificateReader(Interop.Crypto.X509UpRef(handle)); 169certPal = new OpenSslX509CertificateReader(certHandle); 185certPal = new OpenSslX509CertificateReader(cert); 201certPal = new OpenSslX509CertificateReader(cert); 232fromBio = new OpenSslX509CertificateReader(cert); 616OpenSslX509CertificateReader duplicate = new OpenSslX509CertificateReader(certHandle); 768OpenSslX509CertificateReader duplicate = new OpenSslX509CertificateReader(certHandle);
52 references to OpenSslX509CertificateReader
System.Security.Cryptography (52)
System\Security\Cryptography\X509Certificates\CertificatePal.OpenSsl.cs (4)
15return OpenSslX509CertificateReader.FromHandle(handle); 20return OpenSslX509CertificateReader.FromOtherCert(copyFrom); 25return OpenSslX509CertificateReader.FromBlob(rawData, password, keyStorageFlags); 30return OpenSslX509CertificateReader.FromFile(fileName, password, keyStorageFlags);
System\Security\Cryptography\X509Certificates\ChainPal.OpenSsl.cs (1)
118((OpenSslX509CertificateReader)cert).SafeHandle,
System\Security\Cryptography\X509Certificates\OpenSslCachedSystemStoreProvider.cs (1)
239while (OpenSslX509CertificateReader.TryReadX509PemNoAux(fileBio, out pal))
System\Security\Cryptography\X509Certificates\OpenSslCertificateFinder.cs (4)
15OpenSslX509CertificateReader certPal = (OpenSslX509CertificateReader)cert.Pal; 27OpenSslX509CertificateReader certPal = (OpenSslX509CertificateReader)cert.Pal;
System\Security\Cryptography\X509Certificates\OpenSslCrlCache.cs (2)
159nextUpdate = OpenSslX509CertificateReader.ExtractValidityDateTime(nextUpdatePtr); 313OpenSslX509CertificateReader.FindFirstExtension(cert, Oids.CrlDistributionPoints);
System\Security\Cryptography\X509Certificates\OpenSslDirectoryBasedStoreProvider.cs (4)
138OpenSslX509CertificateReader cert = (OpenSslX509CertificateReader)certPal; 226OpenSslX509CertificateReader cert = (OpenSslX509CertificateReader)certPal;
System\Security\Cryptography\X509Certificates\OpenSslExportProvider.cs (1)
25SafeEvpPKeyHandle? privateKey = ((OpenSslX509CertificateReader)certificatePal).PrivateKeyHandle;
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (6)
38OpenSslX509CertificateReader certPal = (OpenSslX509CertificateReader)cert.Pal; 611private OpenSslX509CertificateReader CopyWithPrivateKey(SafeEvpPKeyHandle privateKey) 616OpenSslX509CertificateReader duplicate = new OpenSslX509CertificateReader(certHandle); 765internal OpenSslX509CertificateReader DuplicateHandles() 768OpenSslX509CertificateReader duplicate = new OpenSslX509CertificateReader(certHandle);
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (4)
163AddToStackAndUpRef(((OpenSslX509CertificateReader)cert.Pal!).SafeHandle, toAdd); 193AddToStackAndUpRef(((OpenSslX509CertificateReader)cert.Pal!).SafeHandle, untrusted); 239OpenSslX509CertificateReader.FindFirstExtension( 1215OpenSslX509CertificateReader.FindFirstExtension(
System\Security\Cryptography\X509Certificates\OpenSslX509Encoder.cs (10)
19return ((OpenSslX509CertificateReader)certificatePal).GetECDsaPublicKey(); 27return ((OpenSslX509CertificateReader)certificatePal).GetECDiffieHellmanPublicKey(); 69if (OpenSslX509CertificateReader.TryReadX509Der(rawData, out certPal) || 70OpenSslX509CertificateReader.TryReadX509Pem(rawData, out certPal)) 107if (OpenSslX509CertificateReader.TryReadX509Der(fileBio, out certPal)) 114OpenSslX509CertificateReader.RewindBio(fileBio, bioPosition); 116if (OpenSslX509CertificateReader.TryReadX509Pem(fileBio, out certPal)) 123OpenSslX509CertificateReader.RewindBio(fileBio, bioPosition); 133OpenSslX509CertificateReader.RewindBio(fileBio, bioPosition); 140OpenSslX509CertificateReader.RewindBio(fileBio, bioPosition);
System\Security\Cryptography\X509Certificates\StorePal.OpenSsl.cs (7)
25if (OpenSslX509CertificateReader.TryReadX509Der(rawData, out singleCert) || 26OpenSslX509CertificateReader.TryReadX509Pem(rawData, out singleCert)) 83if (OpenSslX509CertificateReader.TryReadX509Pem(bio, out singleCert)) 89OpenSslX509CertificateReader.RewindBio(bio, bioPosition); 91if (OpenSslX509CertificateReader.TryReadX509Der(bio, out singleCert)) 97OpenSslX509CertificateReader.RewindBio(bio, bioPosition); 107OpenSslX509CertificateReader.RewindBio(bio, bioPosition);
System\Security\Cryptography\X509Certificates\X509CertificateLoader.OpenSsl.cs (8)
15if (OpenSslX509CertificateReader.TryReadX509Der(data, out pal) || 16OpenSslX509CertificateReader.TryReadX509Pem(data, out pal)) 35if (!OpenSslX509CertificateReader.TryReadX509Der(fileBio, out pal)) 37OpenSslX509CertificateReader.RewindBio(fileBio, bioPosition); 39if (!OpenSslX509CertificateReader.TryReadX509Pem(fileBio, out pal)) 51OpenSslX509CertificateReader pal = (OpenSslX509CertificateReader)certAndKey.Cert!; 90if (OpenSslX509CertificateReader.TryReadX509Der(data.Span, out ICertificatePal? ret))