5 writes to Algorithm
System.Security.Cryptography (5)
src\libraries\Common\src\System\Security\Cryptography\Asn1\SubjectPublicKeyInfoAsn.xml.cs (1)
77System.Security.Cryptography.Asn1.AlgorithmIdentifierAsn.Decode(ref sequenceReader, rebind, out decoded.Algorithm);
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
838Algorithm = new AlgorithmIdentifierAsn
System\Security\Cryptography\X509Certificates\OpenSslX509Encoder.cs (1)
174Algorithm = new AlgorithmIdentifierAsn { Algorithm = Oids.Dsa, Parameters = encodedParameters },
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (1)
55spki.Algorithm = new AlgorithmIdentifierAsn { Algorithm = PublicKey.Oid!.Value!, Parameters = PublicKey.EncodedParameters.RawData };
System\Security\Cryptography\X509Certificates\PublicKey.cs (1)
279Algorithm = new AlgorithmIdentifierAsn
12 references to Algorithm
System.Security.Cryptography (12)
src\libraries\Common\src\System\Security\Cryptography\Asn1\SubjectPublicKeyInfoAsn.xml.cs (1)
26Algorithm.Encode(writer);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (3)
52if (Array.IndexOf(validOids, spki.Algorithm.Algorithm) < 0) 83if (Array.IndexOf(validOids, spki.Algorithm.Algorithm) < 0) 88keyReader(spki.SubjectPublicKey, spki.Algorithm, out ret);
System\Security\Cryptography\X509Certificates\PublicKey.cs (2)
338oid = new Oid(spki.Algorithm.Algorithm, null); 339parameters = new AsnEncodedData(spki.Algorithm.Parameters.GetValueOrDefault().Span);
System\Security\Cryptography\X509Certificates\X509CertificateLoader.Unix.cs (6)
442string keyAlgorithm = publicKeyInfo.Algorithm.Algorithm; 483publicKeyInfo.Algorithm.HasNullEquivalentParameters() && 490publicKeyInfo.Algorithm.Parameters.HasValue && 491publicKeyInfo.Algorithm.Parameters.Value.Span.SequenceEqual(certKeyParameters); 495if (!publicKeyInfo.Algorithm.Parameters.HasValue) 500return publicKeyInfo.Algorithm.Parameters.Value.Span.SequenceEqual(certKeyParameters);