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