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