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