11 writes to Pal
System.Security.Cryptography (11)
System\Security\Cryptography\X509Certificates\X509Certificate.cs (11)
45
Pal
= null;
69
Pal
= CertificatePal.FromBlob(data, SafePasswordHandle.InvalidHandle, X509KeyStorageFlags.DefaultKeySet);
99
Pal
= CertificatePal.FromBlob(rawData, safePasswordHandle, keyStorageFlags);
115
Pal
= CertificatePal.FromBlob(rawData, safePasswordHandle, keyStorageFlags);
128
Pal
= CertificatePal.FromBlob(rawData, safePasswordHandle, keyStorageFlags);
135
Pal
= CertificatePal.FromHandle(handle);
141
Pal
= pal;
176
Pal
= CertificatePal.FromFile(fileName, safePasswordHandle, keyStorageFlags);
188
Pal
= CertificatePal.FromFile(fileName, safePasswordHandle, keyStorageFlags);
205
Pal
= CertificatePal.FromFile(fileName, safePasswordHandle, keyStorageFlags);
216
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
;
214
if (cert.
Pal
!= null)
258
return _lazyRawData ??=
Pal
.RawData;
262
public IntPtr Handle =>
Pal
is null ? IntPtr.Zero :
Pal
.Handle;
270
return _lazyIssuer ??=
Pal
.Issuer;
280
return _lazySubject ??=
Pal
.Subject;
304
if (
Pal
is null)
305
return other.
Pal
is null;
325
if (
Pal
== null)
330
return
Pal
.Export(contentType, safePasswordHandle);
339
if (
Pal
== null)
344
return
Pal
.Export(contentType, safePasswordHandle);
399
return _lazyCertHash ??=
Pal
!.Thumbprint;
431
if (
Pal
== null)
447
return _lazyKeyAlgorithm ??=
Pal
.KeyAlgorithm;
454
byte[] keyAlgorithmParameters = _lazyKeyAlgorithmParameters ??=
Pal
.KeyAlgorithmParameters;
470
byte[] publicKey = _lazyPublicKey ??=
Pal
.PublicKeyValue;
506
private byte[] GetRawSerialNumber() => _lazySerialNumber ??=
Pal
!.SerialNumber;
512
return
Pal
.LegacySubject;
519
return
Pal
.LegacyIssuer;
529
if (fVerbose == false ||
Pal
== null)
624
notAfter = _lazyNotAfter =
Pal
.NotAfter;
638
notBefore = _lazyNotBefore =
Pal
.NotBefore;
643
[MemberNotNull(nameof(
Pal
))]
646
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