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