15 references to AlgorithmClass
System.Core (15)
System\Security\Cryptography\AesCryptoServiceProvider.cs (2)
420
((((int)Contract.Result<CapiNative.AlgorithmId>()) & (int)CapiNative.
AlgorithmClass
.DataEncryption) == (int)CapiNative.
AlgorithmClass
.DataEncryption) ||
System\Security\Cryptography\CapiHashAlgorithm.cs (3)
33
Contract.Requires((CapiNative.
AlgorithmClass
)((uint)algorithm & (uint)CapiNative.
AlgorithmClass
.Hash) == CapiNative.
AlgorithmClass
.Hash);
System\Security\Cryptography\CapiNative.cs (10)
53
Aes128 = (
AlgorithmClass
.DataEncryption | AlgorithmType.Block | AlgorithmSubId.Aes128), // CALG_AES_128
54
Aes192 = (
AlgorithmClass
.DataEncryption | AlgorithmType.Block | AlgorithmSubId.Aes192), // CALG_AES_192
55
Aes256 = (
AlgorithmClass
.DataEncryption | AlgorithmType.Block | AlgorithmSubId.Aes256), // CALG_AES_256
57
MD5 = (
AlgorithmClass
.Hash | AlgorithmType.Any | AlgorithmSubId.MD5), // CALG_MD5
58
Sha1 = (
AlgorithmClass
.Hash | AlgorithmType.Any | AlgorithmSubId.Sha1), // CALG_SHA1
59
Sha256 = (
AlgorithmClass
.Hash | AlgorithmType.Any | AlgorithmSubId.Sha256), // CALG_SHA_256
60
Sha384 = (
AlgorithmClass
.Hash | AlgorithmType.Any | AlgorithmSubId.Sha384), // CALG_SHA_384
61
Sha512 = (
AlgorithmClass
.Hash | AlgorithmType.Any | AlgorithmSubId.Sha512) // CALG_SHA_512
719
Contract.Requires(((int)algorithm & (int)
AlgorithmClass
.DataEncryption) == (int)
AlgorithmClass
.DataEncryption);