5 writes to Algorithm
System.Security.Cryptography (5)
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
);
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
838
Algorithm
= new AlgorithmIdentifierAsn
System\Security\Cryptography\X509Certificates\OpenSslX509Encoder.cs (1)
174
Algorithm
= new AlgorithmIdentifierAsn { Algorithm = Oids.Dsa, Parameters = encodedParameters },
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (1)
55
spki.
Algorithm
= new AlgorithmIdentifierAsn { Algorithm = PublicKey.Oid!.Value!, Parameters = PublicKey.EncodedParameters.RawData };
System\Security\Cryptography\X509Certificates\PublicKey.cs (1)
279
Algorithm
= new AlgorithmIdentifierAsn
12 references to Algorithm
System.Security.Cryptography (12)
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);
System\Security\Cryptography\X509Certificates\PublicKey.cs (2)
338
oid = new Oid(spki.
Algorithm
.Algorithm, null);
339
parameters = new AsnEncodedData(spki.
Algorithm
.Parameters.GetValueOrDefault().Span);
System\Security\Cryptography\X509Certificates\X509CertificateLoader.Unix.cs (6)
442
string keyAlgorithm = publicKeyInfo.
Algorithm
.Algorithm;
483
publicKeyInfo.
Algorithm
.HasNullEquivalentParameters() &&
490
publicKeyInfo.
Algorithm
.Parameters.HasValue &&
491
publicKeyInfo.
Algorithm
.Parameters.Value.Span.SequenceEqual(certKeyParameters);
495
if (!publicKeyInfo.
Algorithm
.Parameters.HasValue)
500
return publicKeyInfo.
Algorithm
.Parameters.Value.Span.SequenceEqual(certKeyParameters);