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