KERB_SMART_CARD_LOGON structure (ntsecapi.h)

The KERB_SMART_CARD_LOGON structure contains information about a smart card logon session.

It is used by LsaLogonUser with the Kerberos security package using LOGON32_PROVIDER_WINNT50 or LOGON32_PROVIDER_DEFAULT.

Syntax

typedef struct _KERB_SMART_CARD_LOGON {
  KERB_LOGON_SUBMIT_TYPE MessageType;
  UNICODE_STRING         Pin;
  ULONG                  CspDataLength;
  PUCHAR                 CspData;
} KERB_SMART_CARD_LOGON, *PKERB_SMART_CARD_LOGON;

Members

MessageType

KERB_LOGON_SUBMIT_TYPE value identifying the type of logon request being made. This member must be set to KerbInteractiveLogon.

Pin

UNICODE_STRING that specifies the PIN associated with the smart card.

CspDataLength

The length, in characters, of the CspData member.

CspData

A pointer to a KERB_SMARTCARD_CSP_INFO structure that contains information about the smart card cryptographic service provider (CSP) or a pointer to a marshaled KERB_CERTIFICATE_INFO structure when updating certificate credentials.

Requirements

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