This documentation is archived and is not being maintained.
This documentation is archived and is not being maintained.
CNG Interface Identifiers
The following identifiers are used to identify a CNG cryptographic interface. In CNG, an interface identifies the type of cryptographic behavior that a provider supports. For example, a provider may be a random number generator or it may be a hashing provider.
Constant/value
Description
BCRYPT_CIPHER_INTERFACE
0x00000001
The symmetric cipher interface.
BCRYPT_HASH_INTERFACE
0x00000002
The hash interface.
BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE
0x00000003
The asymmetric encryption interface.
BCRYPT_SECRET_AGREEMENT_INTERFACE
0x00000004
The secret agreement interface.
BCRYPT_SIGNATURE_INTERFACE
0x00000005
The signature interface.
BCRYPT_RNG_INTERFACE
0x00000006
The random number generator interface.
NCRYPT_KEY_STORAGE_INTERFACE
0x00010001
The key storage interface.
NCRYPT_SCHANNEL_INTERFACE
0x00010002
The Schannel signature interface.
NCRYPT_SCHANNEL_SIGNATURE_INTERFACE
0x00010003
The Schannel cipher suite interface.
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP and Windows 2000: This value is not supported.