Edit

WEBAUTHN_CTAPCBOR_GET_ASSERTION_REQUEST structure (webauthnplugin.h)

Contains a decoded CTAP CBOR getAssertion request.

Syntax

typedef struct _WEBAUTHN_CTAPCBOR_GET_ASSERTION_REQUEST {
  DWORD                                    dwVersion;
  PCWSTR                                   pwszRpId;
  DWORD                                    cbRpId;
  PBYTE                                    pbRpId;
  DWORD                                    cbClientDataHash;
  PBYTE                                    pbClientDataHash;
  WEBAUTHN_CREDENTIAL_LIST                 CredentialList;
  DWORD                                    cbCborExtensionsMap;
  PBYTE                                    pbCborExtensionsMap;
  PWEBAUTHN_CTAPCBOR_AUTHENTICATOR_OPTIONS pAuthenticatorOptions;
  BOOL                                     fEmptyPinAuth;
  DWORD                                    cbPinAuth;
  PBYTE                                    pbPinAuth;
  PWEBAUTHN_CTAPCBOR_HMAC_SALT_EXTENSION   pHmacSaltExtension;
  DWORD                                    cbHmacSecretSaltValues;
  PBYTE                                    pbHmacSecretSaltValues;
  DWORD                                    dwPinProtocol;
  LONG                                     lCredBlobExt;
  LONG                                     lLargeBlobKeyExt;
  DWORD                                    dwCredLargeBlobOperation;
  DWORD                                    cbCredLargeBlobCompressed;
  PBYTE                                    pbCredLargeBlobCompressed;
  DWORD                                    dwCredLargeBlobOriginalSize;
  DWORD                                    cbJsonExt;
  PBYTE                                    pbJsonExt;
} WEBAUTHN_CTAPCBOR_GET_ASSERTION_REQUEST, *PWEBAUTHN_CTAPCBOR_GET_ASSERTION_REQUEST;

Members

dwVersion

The version of this structure.

pwszRpId

A pointer to the relying-party identifier after UTF-8 to Unicode conversion.

cbRpId

The size, in bytes, of the raw UTF-8 relying-party identifier pointed to by pbRpId.

pbRpId

A pointer to the raw UTF-8 relying-party identifier bytes that are hashed into the authenticator data.

cbClientDataHash

The size, in bytes, of the client-data hash pointed to by pbClientDataHash.

pbClientDataHash

A pointer to the client-data hash.

CredentialList

A WEBAUTHN_CREDENTIAL_LIST structure that contains the allow list.

cbCborExtensionsMap

The size, in bytes, of the CBOR extensions map pointed to by pbCborExtensionsMap.

pbCborExtensionsMap

A pointer to the raw CBOR extensions map.

pAuthenticatorOptions

An optional pointer to a WEBAUTHN_CTAPCBOR_AUTHENTICATOR_OPTIONS structure.

fEmptyPinAuth

If TRUE, a zero-length pinAuth field is included in the request.

cbPinAuth

The size, in bytes, of the pinAuth buffer pointed to by pbPinAuth.

pbPinAuth

A pointer to the pinAuth buffer.

pHmacSaltExtension

An optional pointer to a WEBAUTHN_CTAPCBOR_HMAC_SALT_EXTENSION structure.

cbHmacSecretSaltValues

The size, in bytes, of the PRF salt-values buffer pointed to by pbHmacSecretSaltValues.

pbHmacSecretSaltValues

A pointer to the PRF salt-values buffer.

dwPinProtocol

The PIN protocol value.

lCredBlobExt

The credBlob extension state.

lLargeBlobKeyExt

The largeBlobKey extension state.

dwCredLargeBlobOperation

The requested largeBlob operation.

cbCredLargeBlobCompressed

The size, in bytes, of the compressed large-blob buffer pointed to by pbCredLargeBlobCompressed.

pbCredLargeBlobCompressed

A pointer to the compressed large-blob buffer.

dwCredLargeBlobOriginalSize

The original, uncompressed large-blob size.

cbJsonExt

The size, in bytes, of the json extension buffer pointed to by pbJsonExt.

pbJsonExt

A pointer to the json extension buffer.

Remarks

Use this structure with WebAuthNDecodeGetAssertionRequest.

Requirements

Requirement Value
Header webauthnplugin.h

See also

WebAuthNDecodeGetAssertionRequest