11 writes to Pal
System.Security.Cryptography (11)
System\Security\Cryptography\X509Certificates\X509Certificate.cs (11)
47Pal = null; 71Pal = CertificatePal.FromBlob(data, SafePasswordHandle.InvalidHandle, X509KeyStorageFlags.DefaultKeySet); 101Pal = CertificatePal.FromBlob(rawData, safePasswordHandle, keyStorageFlags); 117Pal = CertificatePal.FromBlob(rawData, safePasswordHandle, keyStorageFlags); 130Pal = CertificatePal.FromBlob(rawData, safePasswordHandle, keyStorageFlags); 137Pal = CertificatePal.FromHandle(handle); 143Pal = pal; 178Pal = CertificatePal.FromFile(fileName, safePasswordHandle, keyStorageFlags); 190Pal = CertificatePal.FromFile(fileName, safePasswordHandle, keyStorageFlags); 207Pal = CertificatePal.FromFile(fileName, safePasswordHandle, keyStorageFlags); 218Pal = CertificatePal.FromOtherCert(cert);
33 references to Pal
System.Security.Cryptography (33)
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (2)
35Debug.Assert(cert.Pal != null); 38OpenSslX509CertificateReader certPal = (OpenSslX509CertificateReader)cert.Pal;
System\Security\Cryptography\X509Certificates\X509Certificate.cs (30)
44ICertificatePalCore? pal = Pal; 216if (cert.Pal != null) 260return _lazyRawData ??= Pal.RawData; 264public IntPtr Handle => Pal is null ? IntPtr.Zero : Pal.Handle; 272return _lazyIssuer ??= Pal.Issuer; 282return _lazySubject ??= Pal.Subject; 306if (Pal is null) 307return other.Pal is null; 327if (Pal == null) 332return Pal.Export(contentType, safePasswordHandle); 341if (Pal == null) 346return Pal.Export(contentType, safePasswordHandle); 372if (Pal is null) 377return Pal.ExportPkcs12(exportParameters, safePasswordHandle); 414if (Pal is null) 419return Pal.ExportPkcs12(exportParameters, safePasswordHandle); 474return _lazyCertHash ??= Pal!.Thumbprint; 506if (Pal == null) 522return _lazyKeyAlgorithm ??= Pal.KeyAlgorithm; 531_lazyKeyAlgorithmParameters = Pal.KeyAlgorithmParameters; 550byte[] publicKey = _lazyPublicKey ??= Pal.PublicKeyValue; 586private byte[] GetRawSerialNumber() => _lazySerialNumber ??= Pal!.SerialNumber; 592return Pal.LegacySubject; 599return Pal.LegacyIssuer; 609if (fVerbose == false || Pal == null) 704notAfter = _lazyNotAfter = Pal.NotAfter; 718notBefore = _lazyNotBefore = Pal.NotBefore; 723[MemberNotNull(nameof(Pal))] 726if (Pal is null)
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
192internal new ICertificatePal Pal => (ICertificatePal)base.Pal!; // called base ctors guaranteed to initialize