Skip to content

Latest commit

 

History

History
103 lines (75 loc) · 4.67 KB

ne-certenroll-algorithmtype.md

File metadata and controls

103 lines (75 loc) · 4.67 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:certenroll.AlgorithmType
AlgorithmType (certenroll.h)
Specifies the intended purpose of a cryptographic algorithm supported by a cryptographic provider.
AlgorithmType
AlgorithmType enumeration [Security]
XCN_BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE
XCN_BCRYPT_CIPHER_INTERFACE
XCN_BCRYPT_HASH_INTERFACE
XCN_BCRYPT_RNG_INTERFACE
XCN_BCRYPT_SECRET_AGREEMENT_INTERFACE
XCN_BCRYPT_SIGNATURE_INTERFACE
XCN_BCRYPT_UNKNOWN_INTERFACE
certenroll/AlgorithmType
certenroll/XCN_BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE
certenroll/XCN_BCRYPT_CIPHER_INTERFACE
certenroll/XCN_BCRYPT_HASH_INTERFACE
certenroll/XCN_BCRYPT_RNG_INTERFACE
certenroll/XCN_BCRYPT_SECRET_AGREEMENT_INTERFACE
certenroll/XCN_BCRYPT_SIGNATURE_INTERFACE
certenroll/XCN_BCRYPT_UNKNOWN_INTERFACE
security.algorithmtype_enum
security\algorithmtype_enum.htm
security
1a3da2df-b3e2-45fa-bae7-a9c0bac8b210
12/05/2018
AlgorithmType, AlgorithmType enumeration [Security], XCN_BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE, XCN_BCRYPT_CIPHER_INTERFACE, XCN_BCRYPT_HASH_INTERFACE, XCN_BCRYPT_RNG_INTERFACE, XCN_BCRYPT_SECRET_AGREEMENT_INTERFACE, XCN_BCRYPT_SIGNATURE_INTERFACE, XCN_BCRYPT_UNKNOWN_INTERFACE, certenroll/AlgorithmType, certenroll/XCN_BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE, certenroll/XCN_BCRYPT_CIPHER_INTERFACE, certenroll/XCN_BCRYPT_HASH_INTERFACE, certenroll/XCN_BCRYPT_RNG_INTERFACE, certenroll/XCN_BCRYPT_SECRET_AGREEMENT_INTERFACE, certenroll/XCN_BCRYPT_SIGNATURE_INTERFACE, certenroll/XCN_BCRYPT_UNKNOWN_INTERFACE, security.algorithmtype_enum
certenroll.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
AlgorithmType
19H1
AlgorithmType
certenroll/AlgorithmType
c++
APIRef
kbSyntax
HeaderDef
CertEnroll.h
AlgorithmType

AlgorithmType enumeration

-description

The AlgorithmType enumeration type specifies the intended purpose of a cryptographic algorithm supported by a cryptographic provider. Algorithms are typically classified by use into the following general categories:

  • Signing
  • Hashing
  • Asymmetric encryption
  • Symmetric encryption
  • Key exchange
This enumeration is used in the ICspAlgorithm interface.

-enum-fields

-field XCN_BCRYPT_UNKNOWN_INTERFACE:0

The algorithm type is not defined.

-field XCN_BCRYPT_CIPHER_INTERFACE:0x1

The algorithm is used for symmetric encryption. This includes the RC2, RC4, Data Encryption Standard (DES), 3DED, and AES algorithms.

-field XCN_BCRYPT_HASH_INTERFACE:0x2

The algorithm is used for hashing. This includes the MD2, MD4, SHA1, SHA256, SHA384, SHA512 MAC, and Hash-Based Message Authentication Code (HMAC) hash algorithms.

-field XCN_BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE:0x3

The algorithm is used for public key encryption. This includes RSA.

-field XCN_BCRYPT_SIGNATURE_INTERFACE:0x5

The algorithm is used for signing. This includes the RSA algorithm, Digital Signature Algorithm (DSA), and ECDSA algorithm.

-field XCN_BCRYPT_SECRET_AGREEMENT_INTERFACE:0x4

The algorithm is used for key exchange. This includes the Diffie-Hellman algorithm and ECDH algorithm.

-field XCN_BCRYPT_RNG_INTERFACE:0x6

The algorithm is used to generate a random number.

-field XCN_BCRYPT_KEY_DERIVATION_INTERFACE:0x7

-see-also

AlgorithmOperationFlags

CertEnroll Enumerations

CertEnroll Interfaces