8 writes to Algorithm
System.Security.Cryptography (8)
src\libraries\Common\src\System\Security\Cryptography\Asn1\SubjectPublicKeyInfoAsn.xml.cs (1)
77
System.Security.Cryptography.Asn1.AlgorithmIdentifierAsn.Decode(ref sequenceReader, rebind, out decoded.
Algorithm
);
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (2)
1184
MLKemAlgorithm algorithm = GetAlgorithmIdentifier(ref spki.
Algorithm
);
1640
Algorithm
= new AlgorithmIdentifierAsn
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (1)
1007
SlhDsaAlgorithm algorithm = GetAlgorithmIdentifier(ref spki.
Algorithm
);
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
999
Algorithm
= new AlgorithmIdentifierAsn
System\Security\Cryptography\X509Certificates\OpenSslX509Encoder.cs (1)
175
Algorithm
= new AlgorithmIdentifierAsn
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (1)
55
spki.
Algorithm
= new AlgorithmIdentifierAsn
System\Security\Cryptography\X509Certificates\PublicKey.cs (1)
384
Algorithm
= new AlgorithmIdentifierAsn
16 references to Algorithm
System.Security.Cryptography (16)
src\libraries\Common\src\System\Security\Cryptography\Asn1\SubjectPublicKeyInfoAsn.xml.cs (1)
26
Algorithm
.Encode(writer);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (3)
52
if (Array.IndexOf(validOids, spki.
Algorithm
.Algorithm) < 0)
83
if (Array.IndexOf(validOids, spki.
Algorithm
.Algorithm) < 0)
88
keyReader(spki.SubjectPublicKey, spki.
Algorithm
, out ret);
src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (4)
750
MLDsaAlgorithm? algorithm = MLDsaAlgorithm.GetMLDsaAlgorithmFromOid(spki.
Algorithm
.Algorithm);
754
throw Helpers.CreateAlgorithmUnknownException(spki.
Algorithm
.Algorithm);
757
if (spki.
Algorithm
.Parameters.HasValue)
760
spki.
Algorithm
.Encode(writer);
System\Security\Cryptography\X509Certificates\PublicKey.cs (2)
443
oid = new Oid(spki.
Algorithm
.Algorithm, null);
445
parameters = spki.
Algorithm
.Parameters switch
System\Security\Cryptography\X509Certificates\X509CertificateLoader.Unix.cs (6)
439
string keyAlgorithm = publicKeyInfo.
Algorithm
.Algorithm;
480
publicKeyInfo.
Algorithm
.HasNullEquivalentParameters() &&
487
publicKeyInfo.
Algorithm
.Parameters.HasValue &&
489
publicKeyInfo.
Algorithm
.Parameters.Value.Span.SequenceEqual(certKeyParameters);
495
if (!publicKeyInfo.
Algorithm
.Parameters.HasValue)
501
publicKeyInfo.
Algorithm
.Parameters.Value.Span.SequenceEqual(certKeyParameters);