NCRYPT_SUPPORTED_LENGTHS structure (ncrypt.h)
The NCRYPT_SUPPORTED_LENGTHS structure is used with the NCRYPT_LENGTHS_PROPERTY property to contain length information for a key.
Syntax
typedef struct __NCRYPT_SUPPORTED_LENGTHS {
DWORD dwMinLength;
DWORD dwMaxLength;
DWORD dwIncrement;
DWORD dwDefaultLength;
} NCRYPT_SUPPORTED_LENGTHS;
Members
dwMinLength
The minimum length, in bits, of a key.
dwMaxLength
The maximum length, in bits, of a key.
dwIncrement
The number of bits that the key size can be incremented between dwMinLength and dwMaxLength.
dwDefaultLength
The default length, in bits, of a key.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | ncrypt.h |