7 writes to Algorithm
System.Security.Cryptography (7)
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)
1183
MLKemAlgorithm algorithm = GetAlgorithmIdentifier(ref spki.
Algorithm
);
1638
Algorithm
= new AlgorithmIdentifierAsn
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
952
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)
347
Algorithm
= new AlgorithmIdentifierAsn
19 references to Algorithm
System.Security.Cryptography (19)
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);
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (3)
729
SlhDsaAlgorithm algorithm = SlhDsaAlgorithm.GetAlgorithmFromOid(spki.
Algorithm
.Algorithm);
731
if (spki.
Algorithm
.Parameters.HasValue)
734
spki.
Algorithm
.Encode(writer);
System\Security\Cryptography\X509Certificates\PublicKey.cs (2)
406
oid = new Oid(spki.
Algorithm
.Algorithm, null);
408
parameters = spki.
Algorithm
.Parameters switch
System\Security\Cryptography\X509Certificates\X509CertificateLoader.Unix.cs (6)
442
string keyAlgorithm = publicKeyInfo.
Algorithm
.Algorithm;
483
publicKeyInfo.
Algorithm
.HasNullEquivalentParameters() &&
490
publicKeyInfo.
Algorithm
.Parameters.HasValue &&
492
publicKeyInfo.
Algorithm
.Parameters.Value.Span.SequenceEqual(certKeyParameters);
496
if (!publicKeyInfo.
Algorithm
.Parameters.HasValue)
502
publicKeyInfo.
Algorithm
.Parameters.Value.Span.SequenceEqual(certKeyParameters);