Share via


CONTAINER_INFO Structure

The CONTAINER_INFO structure contains information about a key container on a smart card.

Syntax

typedef struct _CONTAINER_INFO {
  DWORD dwVersion;
  DWORD dwReserved;
  DWORD cbSigPublicKey;
  PBYTE pbSigPublicKey;
  DWORD cbKeyExPublicKey;
  PBYTE pbKeyExPublicKey;
} CONTAINER_INFO, *PCONTAINER_INFO;

Members

  • dwVersion
    The version number of the structure.

  • dwReserved
    This member is reserved for use by the smart card module.

  • cbSigPublicKey
    The size, in bytes, of the pbSigPublicKey buffer.

  • pbSigPublicKey
    A pointer to a buffer that contains the public key used to create and verify digital signatures.

  • cbKeyExPublicKey
    The size, in bytes, of the pbKeyExPublicKey buffer.

  • pbKeyExPublicKey
    A pointer to a buffer that contains the public key used to encrypt and decrypt session keys.

Remarks

This structure is initialized by the CardGetContainerInfo function.

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

CardCreateContainer

CardGetContainerInfo

Send comments about this topic to Microsoft

Build date: 3/5/2009