11 writes to Pal
System.Security.Cryptography (11)
System\Security\Cryptography\X509Certificates\X509Certificate.cs (11)
45
Pal
= null;
71
Pal
= CertificatePal.FromBlob(data, safePasswordHandle, X509KeyStorageFlags.DefaultKeySet);
102
Pal
= CertificatePal.FromBlob(rawData, safePasswordHandle, keyStorageFlags);
118
Pal
= CertificatePal.FromBlob(rawData, safePasswordHandle, keyStorageFlags);
131
Pal
= CertificatePal.FromBlob(rawData, safePasswordHandle, keyStorageFlags);
138
Pal
= CertificatePal.FromHandle(handle);
144
Pal
= pal;
179
Pal
= CertificatePal.FromFile(fileName, safePasswordHandle, keyStorageFlags);
191
Pal
= CertificatePal.FromFile(fileName, safePasswordHandle, keyStorageFlags);
208
Pal
= CertificatePal.FromFile(fileName, safePasswordHandle, keyStorageFlags);
219
Pal
= CertificatePal.FromOtherCert(cert);
29 references to Pal
System.Security.Cryptography (29)
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (2)
35
Debug.Assert(cert.
Pal
!= null);
38
OpenSslX509CertificateReader certPal = (OpenSslX509CertificateReader)cert.
Pal
;
System\Security\Cryptography\X509Certificates\X509Certificate.cs (26)
42
ICertificatePalCore? pal =
Pal
;
217
if (cert.
Pal
!= null)
261
return _lazyRawData ??=
Pal
.RawData;
265
public IntPtr Handle =>
Pal
is null ? IntPtr.Zero :
Pal
.Handle;
273
return _lazyIssuer ??=
Pal
.Issuer;
283
return _lazySubject ??=
Pal
.Subject;
307
if (
Pal
is null)
308
return other.
Pal
is null;
328
if (
Pal
== null)
333
return
Pal
.Export(contentType, safePasswordHandle);
342
if (
Pal
== null)
347
return
Pal
.Export(contentType, safePasswordHandle);
402
return _lazyCertHash ??=
Pal
!.Thumbprint;
434
if (
Pal
== null)
450
return _lazyKeyAlgorithm ??=
Pal
.KeyAlgorithm;
457
byte[] keyAlgorithmParameters = _lazyKeyAlgorithmParameters ??=
Pal
.KeyAlgorithmParameters;
473
byte[] publicKey = _lazyPublicKey ??=
Pal
.PublicKeyValue;
509
private byte[] GetRawSerialNumber() => _lazySerialNumber ??=
Pal
!.SerialNumber;
515
return
Pal
.LegacySubject;
522
return
Pal
.LegacyIssuer;
532
if (fVerbose == false ||
Pal
== null)
627
notAfter = _lazyNotAfter =
Pal
.NotAfter;
641
notBefore = _lazyNotBefore =
Pal
.NotBefore;
646
[MemberNotNull(nameof(
Pal
))]
649
if (
Pal
is null)
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
191
internal new ICertificatePal Pal => (ICertificatePal)base.
Pal
!; // called base ctors guaranteed to initialize