15 references to AlgorithmClass
mscorlib (15)
system\security\cryptography\capinative.cs (15)
72
RsaSign = (
AlgorithmClass
.Signature | AlgorithmType.Rsa | AlgorithmSubId.RsaAny), // CALG_RSA_SIGN
73
RsaKeyExchange = (
AlgorithmClass
.KeyExchange | AlgorithmType.Rsa | AlgorithmSubId.RsaAny), // CALG_RSA_KEYX
75
Sha1 = (
AlgorithmClass
.Hash | AlgorithmType.Any | AlgorithmSubId.Sha1), // CALG_SHA1
76
Sha256 = (
AlgorithmClass
.Hash | AlgorithmType.Any | AlgorithmSubId.Sha256), // CALG_SHA_256
77
Sha384 = (
AlgorithmClass
.Hash | AlgorithmType.Any | AlgorithmSubId.Sha384), // CALG_SHA_384
78
Sha512 = (
AlgorithmClass
.Hash | AlgorithmType.Any | AlgorithmSubId.Sha512), // CALG_SHA_512
306
Contract.Assert(((
AlgorithmClass
)algorithm &
AlgorithmClass
.Hash) ==
AlgorithmClass
.Hash, "Invalid hash algorithm");
450
Contract.Assert(((
AlgorithmClass
)signatureAlgorithm &
AlgorithmClass
.Signature) ==
AlgorithmClass
.Signature, "Invalid signature algorithm");
451
Contract.Assert(((
AlgorithmClass
)hashAlgorithm &
AlgorithmClass
.Hash) ==
AlgorithmClass
.Hash, "Invalid hash algorithm");