Freigeben über


CONTAINER_INFO structure

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

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 [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Cardmod.h

See also

Microsoft Base Smart Card Cryptographic Service Provider

CardCreateContainer

CardGetContainerInfo