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)
257PrivateKeyAlgorithm =
11 references to PrivateKeyAlgorithm
System.Security.Cryptography (11)
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 (3)
880ParameterSetInfo info = ParameterSetInfo.GetParameterSetInfoFromOid(pki.PrivateKeyAlgorithm.Algorithm); 882if (pki.PrivateKeyAlgorithm.Parameters.HasValue) 885pki.PrivateKeyAlgorithm.Encode(writer);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (3)
90new Oid(privateKeyInfo.PrivateKeyAlgorithm.Algorithm, null), 91privateKeyInfo.PrivateKeyAlgorithm.Parameters, 266info.PrivateKeyAlgorithm.Parameters = AlgorithmParameters;
System\Security\Cryptography\X509Certificates\X509CertificateLoader.Unix.cs (1)
263key = CreateKey(privateKeyInfo.PrivateKeyAlgorithm.Algorithm);