CARD_KEY_SIZES structure

This topic is not current. For the most current information about the Smart Card API, see Smart Card Minidriver Specification.

The CARD_KEY_SIZES structure contains information about the key lengths supported by a smart card.

Syntax

typedef struct _CARD_KEY_SIZES {
  DWORD dwVersion;
  DWORD dwMinimumBitlen;
  DWORD dwMaximumBitlen;
  DWORD dwIncrementalBitlen;
} CARD_KEY_SIZES, *PCARD_KEY_SIZES;

Members

dwVersion

The version number of the structure.

dwMinimumBitlen

The minimum supported length, in bits, of a key.

dwMaximumBitlen

The maximum supported length, in bits, of a key.

dwIncrementalBitlen

The number of bits for increments of the key length. For example, if the minimum key length is 512 bits, and the value of this member is 64, then valid key lengths are 512 bits, 576 bits, 640 bits, and so on, up to the maximum key length.

Remarks

The CardQueryKeySizes function initializes this structure.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Cardmod.h

See also

Microsoft Base Smart Card Cryptographic Service Provider

CardQueryKeySizes