2 writes to PrivateKeyAlgorithm
System.Security.Cryptography (2)
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (1)
101System.Security.Cryptography.Asn1.AlgorithmIdentifierAsn.Decode(ref sequenceReader, rebind, out decoded.PrivateKeyAlgorithm);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
239PrivateKeyAlgorithm =
15 references to PrivateKeyAlgorithm
System.Security.Cryptography (15)
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (1)
30PrivateKeyAlgorithm.Encode(writer);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (3)
119if (Array.IndexOf(validOids, privateKeyInfo.PrivateKeyAlgorithm.Algorithm) < 0) 146if (Array.IndexOf(validOids, privateKeyInfo.PrivateKeyAlgorithm.Algorithm) < 0) 152keyReader(privateKeyInfo.PrivateKey, privateKeyInfo.PrivateKeyAlgorithm, out ret);
src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (4)
805MLDsaAlgorithm? algorithm = MLDsaAlgorithm.GetMLDsaAlgorithmFromOid(pki.PrivateKeyAlgorithm.Algorithm); 809throw Helpers.CreateAlgorithmUnknownException(pki.PrivateKeyAlgorithm.Algorithm); 812if (pki.PrivateKeyAlgorithm.Parameters.HasValue) 815pki.PrivateKeyAlgorithm.Encode(writer);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (3)
84new Oid(privateKeyInfo.PrivateKeyAlgorithm.Algorithm, null), 85privateKeyInfo.PrivateKeyAlgorithm.Parameters, 248info.PrivateKeyAlgorithm.Parameters = AlgorithmParameters;
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (3)
779SlhDsaAlgorithm info = SlhDsaAlgorithm.GetAlgorithmFromOid(pki.PrivateKeyAlgorithm.Algorithm); 781if (pki.PrivateKeyAlgorithm.Parameters.HasValue) 784pki.PrivateKeyAlgorithm.Encode(writer);
System\Security\Cryptography\X509Certificates\X509CertificateLoader.Unix.cs (1)
263key = CreateKey(privateKeyInfo.PrivateKeyAlgorithm.Algorithm);