Share via


CARD_KEY_SIZES Structure

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, Windows 2000 Professional with SP4
Minimum supported server Windows Server 2003, Windows 2000 Server with SP4
Header Cardmod.h

See Also

Microsoft Base Smart Card Cryptographic Service Provider

CardQueryKeySizes

Send comments about this topic to Microsoft

Build date: 3/5/2009