WEBAUTHN_ASSERTION structure (webauthn.h)

A structure that contains the data necessary 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;
} WEBAUTHN_ASSERTION, *PWEBAUTHN_ASSERTION;

Members

dwVersion

The version of this structure.

cbAuthenticatorData

The size of the authenticator data.

pbAuthenticatorData

A pointer to the authenticator data.

cbSignature

The size of the signature that was generated for this assertion.

pbSignature

A pointer to the signature that was generated for this assertion.

Credential

The credential that was used for this assertion.

cbUserId

The size of the user Id.

pbUserId

A pointer to the user Id.

Extensions

A CBOR map from extension identifiers to their authenticator extension inputs, created by the client based on the extensions requested by the Relying Party, if any.

cbCredLargeBlob

The size of pbCredLargeBlob.

pbCredLargeBlob

A pointer to the credential blob.

dwCredLargeBlobStatus

The status of the credential blob.

pHmacSecret

A salt used to generate the HMAC secret.

dwUsedTransport

cbUnsignedExtensionOutputs

pbUnsignedExtensionOutputs

Requirements

Requirement Value
Header webauthn.h

See also

WebAuthNFreeAssertion

WebAuthNAuthenticatorGetAssertion