2 writes to Algorithm
System.Security.Cryptography.Pkcs (2)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AlgorithmIdentifierAsn.manual.cs (1)
65val.Algorithm = Algorithm;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AlgorithmIdentifierAsn.xml.cs (1)
202decoded.Algorithm = sequenceReader.ReadObjectIdentifier();
27 references to Algorithm
System.Security.Cryptography.Pkcs (27)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AlgorithmIdentifierAsn.manual.cs (2)
82if (Algorithm != other.Algorithm)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AlgorithmIdentifierAsn.xml.cs (1)
137writer.WriteObjectIdentifier(Algorithm);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.manual.cs (8)
18if (MaskGenAlgorithm.Algorithm != Oids.Mgf1) 22MaskGenAlgorithm.Algorithm); 35if (mgfParams.Algorithm != HashAlgorithm.Algorithm) 40mgfParams.Algorithm, 41HashAlgorithm.Algorithm)); 48saltSize = Helpers.HashOidToByteLength(HashAlgorithm.Algorithm); 57HashAlgorithm.Algorithm));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (4)
51if (Array.IndexOf(validOids, spki.Algorithm.Algorithm) < 0) 81if (Array.IndexOf(validOids, spki.Algorithm.Algorithm) < 0 || 124if (Array.IndexOf(validOids, privateKeyInfo.PrivateKeyAlgorithm.Algorithm) < 0) 151if (Array.IndexOf(validOids, privateKeyInfo.PrivateKeyAlgorithm.Algorithm) < 0 ||
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (10)
110algorithmIdentifier.Algorithm)); 121switch (algorithmIdentifier.Algorithm) 173algorithmIdentifier.Algorithm)); 185throw AlgorithmKdfRequiresChars(algorithmIdentifier.Algorithm); 550if (pbes2Params.KeyDerivationFunc.Algorithm != Oids.Pbkdf2) 555pbes2Params.EncryptionScheme.Algorithm)); 600string? algId = encryptionScheme.Algorithm; 780pbkdf2Params.Salt.OtherSource.Algorithm)); 789HashAlgorithmName prf = pbkdf2Params.Prf.Algorithm switch 798pbkdf2Params.Prf.Algorithm)),
System\Security\Cryptography\Pkcs\CmsSignature.RSA.cs (2)
319if (pssParams.HashAlgorithm.Algorithm != digestAlgorithmOid) 324pssParams.HashAlgorithm.Algorithm,