Share via


CRYPT_KEY_LIMITS structure

[The CRYPT_KEY_LIMITS structure is no longer available for use as of Windows Server 2008 R2 and Windows 7.]

The CRYPT_KEY_LIMITS structure supports the unimplemented CryptGetLocalKeyLimits function and is not used. It will be removed from a future version of Wincrypt.h.

Syntax

typedef struct {
  DWORD  dwVersion;
  ALG_ID algId;
  DWORD  dwMinKeyLength;
  DWORD  dwMaxKeyLength;
  DWORD  dwRequiredFlags;
  DWORD  dwDisallowedFlags;
} _CRYPT_KEY_LIMITS_V01, CRYPT_KEY_LIMITS, *PCRYPT_KEY_LIMITS;

Members

  • dwVersion
    Not used.

  • algId
    Not used.

  • dwMinKeyLength
    Not used.

  • dwMaxKeyLength
    Not used.

  • dwRequiredFlags
    Not used.

  • dwDisallowedFlags
    Not used.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

End of client support

Windows Vista

End of server support

Windows Server 2008

Header

Wincrypt.h