CRYPT_SMART_CARD_ROOT_INFO structure

The CRYPT_SMART_CARD_ROOT_INFO structure contains the smart card and session IDs associated with a certificate context. The certificate propagation service uses this structure to transfer smart card data between a smart card and a virtual root certificate store on a computer.

Syntax


typedef struct _CRYPT_SMART_CARD_ROOT_INFO {
  BYTE           rgbCardID[16];
  ROOT_INFO_LUID luid;
} CRYPT_SMART_CARD_ROOT_INFO, *PCRYPT_SMART_CARD_ROOT_INFO;

Members

rgbCardID

An array of bytes that specify the smart card IDs retrieved by using the CryptGetProvParam function with the dwParam parameter set to PP_SMARTCARD_GUID.

luid

A ROOT_INFO_LUID structure that specifies a session authentication ID from an access token.

Remarks

The luid member value comes from the AuthenticationId member of the TOKEN_STATISTICS structure retrieved by calling the GetTokenInformation function.

A certificate context can include an array of multiple CRYPT_SMART_CARD_ROOT_INFO structures, one for each locally unique identifier (LUID) that the certificate propagation service has added to a root certificate.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wincrypt.h

 

 

Show: