42 references to Pal
System.Security.Cryptography (42)
System\Security\Cryptography\X509Certificates\CertificateExtensionsCommon.cs (7)
31return (T)(X509Pal.Instance.DecodePublicKey(algorithmOid, rawEncodedKeyValue, rawEncodedParameters, certificate.Pal)); 35return (T)(object)(X509Pal.Instance.DecodeECDsaPublicKey(certificate.Pal)); 39return (T)(object)(X509Pal.Instance.DecodeECDiffieHellmanPublicKey(certificate.Pal)); 61return (T?)(object?)certificate.Pal.GetRSAPrivateKey(); 64return (T?)(object?)certificate.Pal.GetECDsaPrivateKey(); 67return (T?)(object?)certificate.Pal.GetDSAPrivateKey(); 70return (T?)(object?)certificate.Pal.GetECDiffieHellmanPrivateKey();
System\Security\Cryptography\X509Certificates\CertificatePolicy.cs (1)
234PolicyData policyData = cert.Pal.GetPolicyData();
System\Security\Cryptography\X509Certificates\ChainPal.OpenSsl.cs (1)
197Debug.Assert(!ReferenceEquals(cert, reportedLeaf.Pal));
System\Security\Cryptography\X509Certificates\DSACertificateExtensions.cs (1)
58ICertificatePal pal = certificate.Pal.CopyWithPrivateKey(privateKey);
System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (1)
49ICertificatePal pal = certificate.Pal.CopyWithPrivateKey(privateKey);
System\Security\Cryptography\X509Certificates\OpenSslCertificateFinder.cs (2)
15OpenSslX509CertificateReader certPal = (OpenSslX509CertificateReader)cert.Pal; 27OpenSslX509CertificateReader certPal = (OpenSslX509CertificateReader)cert.Pal;
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (2)
163AddToStackAndUpRef(((OpenSslX509CertificateReader)cert.Pal!).SafeHandle, toAdd); 193AddToStackAndUpRef(((OpenSslX509CertificateReader)cert.Pal!).SafeHandle, untrusted);
System\Security\Cryptography\X509Certificates\RSACertificateExtensions.cs (1)
53ICertificatePal pal = certificate.Pal.CopyWithPrivateKey(privateKey);
System\Security\Cryptography\X509Certificates\UnixExportProvider.cs (1)
117cert.Pal,
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (19)
199return Pal.Archived; 207Pal.Archived = value; 221foreach (X509Extension extension in Pal.Extensions) 246return Pal.FriendlyName; 254Pal.FriendlyName = value; 264return Pal.HasPrivateKey; 280Oids.Rsa => Pal.GetRSAPrivateKey(), 281Oids.Dsa => Pal.GetDSAPrivateKey(), 303return _lazyIssuerName ??= Pal.IssuerName; 321byte[] parameters = Pal.KeyAlgorithmParameters; 322byte[] keyValue = Pal.PublicKeyValue; 351return _lazySignatureAlgorithm ??= new Oid(Pal.SignatureAlgorithm, null); 361return _lazySubjectName ??= Pal.SubjectName; 381version = _lazyVersion = Pal.Version; 427return Pal.GetNameInfo(nameType, forIssuer); 434if (verbose == false || Pal == null) 601Pal.AppendPrivateKeyInfo(sb); 769ICertificatePal pal = Pal.CopyWithPrivateKey(privateKey); 1283foreach (X509Extension extension in Pal.Extensions)
System\Security\Cryptography\X509Certificates\X509Chain.cs (2)
98if (certificate == null || certificate.Pal == null) 128certificate.Pal,
System\Security\Cryptography\X509Certificates\X509Store.cs (4)
133if (certificate.Pal == null) 136_storePal.Add(certificate.Pal); 171if (certificate.Pal == null) 174_storePal.Remove(certificate.Pal);