42 references to Pal
System.Security.Cryptography (42)
System\Security\Cryptography\X509Certificates\CertificateExtensionsCommon.cs (7)
31
return (T)(X509Pal.Instance.DecodePublicKey(algorithmOid, rawEncodedKeyValue, rawEncodedParameters, certificate.
Pal
));
35
return (T)(object)(X509Pal.Instance.DecodeECDsaPublicKey(certificate.
Pal
));
39
return (T)(object)(X509Pal.Instance.DecodeECDiffieHellmanPublicKey(certificate.
Pal
));
61
return (T?)(object?)certificate.
Pal
.GetRSAPrivateKey();
64
return (T?)(object?)certificate.
Pal
.GetECDsaPrivateKey();
67
return (T?)(object?)certificate.
Pal
.GetDSAPrivateKey();
70
return (T?)(object?)certificate.
Pal
.GetECDiffieHellmanPrivateKey();
System\Security\Cryptography\X509Certificates\DSACertificateExtensions.cs (1)
58
ICertificatePal pal = certificate.
Pal
.CopyWithPrivateKey(privateKey);
System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (1)
49
ICertificatePal pal = certificate.
Pal
.CopyWithPrivateKey(privateKey);
System\Security\Cryptography\X509Certificates\RSACertificateExtensions.cs (1)
53
ICertificatePal pal = certificate.
Pal
.CopyWithPrivateKey(privateKey);
System\Security\Cryptography\X509Certificates\StorePal.Windows.Import.cs (1)
174
using (SafeCertContextHandle certContext = ((CertificatePal)certificates[i].
Pal
!).GetCertContext())
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (25)
200
return
Pal
.Archived;
208
Pal
.Archived = value;
222
foreach (X509Extension extension in
Pal
.Extensions)
247
return
Pal
.FriendlyName;
255
Pal
.FriendlyName = value;
265
return
Pal
.HasPrivateKey;
281
Oids.Rsa =>
Pal
.GetRSAPrivateKey(),
282
Oids.Dsa =>
Pal
.GetDSAPrivateKey(),
304
return _lazyIssuerName ??=
Pal
.IssuerName;
322
byte[]? parameters =
Pal
.KeyAlgorithmParameters;
323
byte[] keyValue =
Pal
.PublicKeyValue;
356
return _lazySignatureAlgorithm ??= new Oid(
Pal
.SignatureAlgorithm, null);
366
return _lazySubjectName ??=
Pal
.SubjectName;
386
version = _lazyVersion =
Pal
.Version;
432
return
Pal
.GetNameInfo(nameType, forIssuer);
439
if (!verbose ||
Pal
== null)
610
Pal
.AppendPrivateKeyInfo(sb);
778
ICertificatePal pal =
Pal
.CopyWithPrivateKey(privateKey);
823
return
Pal
.GetMLKemPrivateKey();
878
ICertificatePal pal =
Pal
.CopyWithPrivateKey(privateKey);
925
return
Pal
.GetMLDsaPrivateKey();
980
ICertificatePal pal =
Pal
.CopyWithPrivateKey(privateKey);
1020
?
Pal
.GetSlhDsaPrivateKey()
1079
ICertificatePal pal =
Pal
.CopyWithPrivateKey(privateKey);
1727
foreach (X509Extension extension in
Pal
.Extensions)
System\Security\Cryptography\X509Certificates\X509Chain.cs (2)
98
if (certificate == null || certificate.
Pal
== null)
128
certificate.
Pal
,
System\Security\Cryptography\X509Certificates\X509Store.cs (4)
133
if (certificate.
Pal
== null)
136
_storePal.Add(certificate.
Pal
);
171
if (certificate.
Pal
== null)
174
_storePal.Remove(certificate.
Pal
);