Edit

WEBAUTHN_ASSERTION structure (webauthn.h)

Contains the data returned by the authenticator to verify an assertion.

Syntax

typedef struct _WEBAUTHN_ASSERTION {
  DWORD                      dwVersion;
  DWORD                      cbAuthenticatorData;
  PBYTE                      pbAuthenticatorData;
  DWORD                      cbSignature;
  PBYTE                      pbSignature;
  WEBAUTHN_CREDENTIAL        Credential;
  DWORD                      cbUserId;
  PBYTE                      pbUserId;
  WEBAUTHN_EXTENSIONS        Extensions;
  DWORD                      cbCredLargeBlob;
  PBYTE                      pbCredLargeBlob;
  DWORD                      dwCredLargeBlobStatus;
  PWEBAUTHN_HMAC_SECRET_SALT pHmacSecret;
  DWORD                      dwUsedTransport;
  DWORD                      cbUnsignedExtensionOutputs;
  PBYTE                      pbUnsignedExtensionOutputs;
  DWORD                      cbClientDataJSON;
  PBYTE                      pbClientDataJSON;
  DWORD                      cbAuthenticationResponseJSON;
  PBYTE                      pbAuthenticationResponseJSON;
} WEBAUTHN_ASSERTION, *PWEBAUTHN_ASSERTION;

Members

dwVersion

The version of this structure.

cbAuthenticatorData

The size, in bytes, of the authenticator data pointed to by pbAuthenticatorData.

pbAuthenticatorData

A pointer to the authenticator data.

cbSignature

The size, in bytes, of the signature pointed to by pbSignature.

pbSignature

A pointer to the signature generated for this assertion.

Credential

A WEBAUTHN_CREDENTIAL that identifies the credential used for this assertion.

cbUserId

The size, in bytes, of the user ID pointed to by pbUserId.

pbUserId

A pointer to the user handle returned by the authenticator.

Extensions

A WEBAUTHN_EXTENSIONS structure that contains the authenticator extension outputs, if any.

cbCredLargeBlob

The size, in bytes, of pbCredLargeBlob.

pbCredLargeBlob

A pointer to the large blob data associated with the credential.

dwCredLargeBlobStatus

A DWORD value that indicates the status of the large blob operation. See the WEBAUTHN_CRED_LARGE_BLOB_STATUS_* status constants.

pHmacSecret

A pointer to a WEBAUTHN_HMAC_SECRET_SALT structure that contains the HMAC secret output.

dwUsedTransport

cbUnsignedExtensionOutputs

pbUnsignedExtensionOutputs

cbClientDataJSON

pbClientDataJSON

cbAuthenticationResponseJSON

pbAuthenticationResponseJSON

Requirements

Requirement Value
Header webauthn.h

See also

WebAuthNFreeAssertion

WebAuthNAuthenticatorGetAssertion