Edit

WEBAUTHN_CLIENT_DATA structure (webauthn.h)

Contains the client data to be sent to the authenticator.

Syntax

typedef struct _WEBAUTHN_CLIENT_DATA {
  DWORD   dwVersion;
  DWORD   cbClientDataJSON;
  PBYTE   pbClientDataJSON;
  LPCWSTR pwszHashAlgId;
} WEBAUTHN_CLIENT_DATA, *PWEBAUTHN_CLIENT_DATA;

Members

dwVersion

Version of this structure, to allow for modifications in the future. This field is required and should be set to CURRENT_VERSION.

cbClientDataJSON

The size, in bytes, of the JSON data pointed to by pbClientDataJSON.

pbClientDataJSON

UTF-8 encoded JSON serialization of the client data.

pwszHashAlgId

Hash algorithm ID used to hash the pbClientDataJSON field.

Requirements

Requirement Value
Header webauthn.h

See also

WebAuthNAuthenticatorMakeCredential