2 writes to PrivateKeyAlgorithm
System.Security.Cryptography (2)
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (1)
101
System.Security.Cryptography.Asn1.AlgorithmIdentifierAsn.Decode(ref sequenceReader, rebind, out decoded.
PrivateKeyAlgorithm
);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
257
PrivateKeyAlgorithm
=
11 references to PrivateKeyAlgorithm
System.Security.Cryptography (11)
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (1)
30
PrivateKeyAlgorithm
.Encode(writer);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (3)
119
if (Array.IndexOf(validOids, privateKeyInfo.
PrivateKeyAlgorithm
.Algorithm) < 0)
146
if (Array.IndexOf(validOids, privateKeyInfo.
PrivateKeyAlgorithm
.Algorithm) < 0)
152
keyReader(privateKeyInfo.PrivateKey, privateKeyInfo.
PrivateKeyAlgorithm
, out ret);
src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (3)
880
ParameterSetInfo info = ParameterSetInfo.GetParameterSetInfoFromOid(pki.
PrivateKeyAlgorithm
.Algorithm);
882
if (pki.
PrivateKeyAlgorithm
.Parameters.HasValue)
885
pki.
PrivateKeyAlgorithm
.Encode(writer);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (3)
90
new Oid(privateKeyInfo.
PrivateKeyAlgorithm
.Algorithm, null),
91
privateKeyInfo.
PrivateKeyAlgorithm
.Parameters,
266
info.
PrivateKeyAlgorithm
.Parameters = AlgorithmParameters;
System\Security\Cryptography\X509Certificates\X509CertificateLoader.Unix.cs (1)
263
key = CreateKey(privateKeyInfo.
PrivateKeyAlgorithm
.Algorithm);