13 writes to Algorithm
System.Security.Cryptography.Pkcs (13)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (1)
72Algorithm = contentEncryptionAlgorithm.Oid.Value!,
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (5)
144ktri.KeyEncryptionAlgorithm.Algorithm = Oids.Rsa; 149ktri.KeyEncryptionAlgorithm.Algorithm = Oids.RsaOaep; 154ktri.KeyEncryptionAlgorithm.Algorithm = Oids.RsaOaep; 159ktri.KeyEncryptionAlgorithm.Algorithm = Oids.RsaOaep; 164ktri.KeyEncryptionAlgorithm.Algorithm = Oids.RsaOaep;
Internal\Cryptography\Pal\Windows\DecryptorPalWindows.Decode.cs (1)
59contentEncryptionAlgorithmAsn.Algorithm = contentEncryptionAlgorithm.Oid.Value!;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AlgorithmIdentifierAsn.xml.cs (1)
96decoded.Algorithm = sequenceReader.ReadObjectIdentifier();
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
241Algorithm = AlgorithmId.Value!,
System\Security\Cryptography\Pkcs\CmsSigner.cs (2)
349newSignerInfo.DigestAlgorithm.Algorithm = DigestAlgorithm.Value!; 433newSignerInfo.SignatureAlgorithm.Algorithm = signatureAlgorithm!;
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (1)
303Algorithm = hashAlgorithmId.Value!,
System\Security\Cryptography\Pkcs\Rfc3161TimestampTokenInfo.cs (1)
338Algorithm = hashAlgorithmId.Value!,
23 references to Algorithm
System.Security.Cryptography.Pkcs (23)
Internal\Cryptography\Pal\AnyOS\AsnHelpers.cs (2)
59switch (asn.Algorithm) 151return new AlgorithmIdentifier(new Oid(asn.Algorithm), keyLength)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (1)
98SymmetricAlgorithm alg = OpenAlgorithm(contentEncryptionAlgorithm.Algorithm);
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (2)
39string? keyEncryptionAlgorithm = _asn.KeyEncryptionAlgorithm.Algorithm; 56_asn.KeyEncryptionAlgorithm.Algorithm);
Internal\Cryptography\PkcsHelpers.cs (6)
355if (oaepParameters.MaskGenFunc.Algorithm != Oids.Mgf1 || 357oaepParameters.PSourceFunc.Algorithm != Oids.PSpecified 366if (mgf1AlgorithmIdentifier.Algorithm != oaepParameters.HashFunc.Algorithm) 381switch (oaepParameters.HashFunc.Algorithm) 398oaepParameters.HashFunc.Algorithm);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AlgorithmIdentifierAsn.manual.cs (3)
14if (Algorithm != other.Algorithm) 65val.Algorithm = Algorithm;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AlgorithmIdentifierAsn.xml.cs (1)
28writer.WriteObjectIdentifier(Algorithm);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
24string algorithmValue = MacData.Value.Mac.DigestAlgorithm.Algorithm;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
84new Oid(privateKeyInfo.PrivateKeyAlgorithm.Algorithm, null),
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (1)
27public Oid HashAlgorithmId => (_hashAlgorithmId ??= new Oid(_parsedData.MessageImprint.HashAlgorithm.Algorithm, null));
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (2)
518alg = PkcsHelpers.GetDigestAlgorithm(certId2.Value.HashAlgorithm.Algorithm); 527$"TryGetCertHash did not fit in {thumbprint.Length} for hash {certId2.Value.HashAlgorithm.Algorithm}");
System\Security\Cryptography\Pkcs\Rfc3161TimestampTokenInfo.cs (1)
93public Oid HashAlgorithmId => (_hashAlgorithmId ??= new Oid(_parsedData.MessageImprint.HashAlgorithm.Algorithm, null));
System\Security\Cryptography\Pkcs\SignerInfo.cs (2)
42_digestAlgorithm = parsedData.DigestAlgorithm.Algorithm; 44_signatureAlgorithm = parsedData.SignatureAlgorithm.Algorithm;