The HASHALGORITHM_ENUM enumeration type specifies signing and hashing algorithms. It is used by the BCRYPT_DSA_KEY_BLOB_V2 and BCRYPT_DSA_PARAMETER_HEADER_V2 structures.
typedef enum __unnamed_enum_0003_1
{
DSA_HASH_ALGORITHM_SHA1,
DSA_HASH_ALGORITHM_SHA256,
DSA_HASH_ALGORITHM_SHA512
} HASHALGORITHM_ENUM;
| Constant | Description |
|---|---|
| DSA_HASH_ALGORITHM_SHA1 | Represents a Digital Signature Algorithm (DSA) that uses the Secure Hashing Algorithm 1 (SHA1) to hash the message contents before signing. |
| DSA_HASH_ALGORITHM_SHA256 | Represents a Digital Signature Algorithm (DSA) that uses the Secure Hashing Algorithm 256 (SHA256) to hash the message contents before signing. |
| DSA_HASH_ALGORITHM_SHA512 | Represents a Digital Signature Algorithm (DSA) that uses the Secure Hashing Algorithm 512 (SHA512) to hash the message contents before signing. |
Header: Declared in bcrypt.h.
Library: Use bcrypt.lib.