Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

WEBAUTHN_COMMON_ATTESTATION structure (webauthn.h)

Contains common attestation data shared across attestation statement formats.

Syntax

typedef struct _WEBAUTHN_COMMON_ATTESTATION {
 DWORD dwVersion;
 PCWSTR pwszAlg;
 LONG lAlg;
 DWORD cbSignature;
 PBYTE pbSignature;
 DWORD cX5c;
 PWEBAUTHN_X5C pX5c;
 PCWSTR pwszVer;
 DWORD cbCertInfo;
 PBYTE pbCertInfo;
 DWORD cbPubArea;
 PBYTE pbPubArea;
} WEBAUTHN_COMMON_ATTESTATION, *PWEBAUTHN_COMMON_ATTESTATION;

Members

dwVersion

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

pwszAlg

The hash and padding algorithm. This won't be set for fido-u2f which assumes "ES256".

lAlg

The COSE algorithm identifier. This value is a number identifying a cryptographic algorithm. The algorithm identifiers should be values registered in the IANA COSE Algorithms registry, for instance, -7 for "ES256" and -257 for "RS256".

cbSignature

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

pbSignature

A pointer to the signature generated for this attestation.

cX5c

The number of X.509 DER-encoded certificates in the pX5c array. The first certificate is the signer (leaf) certificate. If zero, this is a self attestation.

pX5c

A pointer to an array of WEBAUTHN_X5C structures that contain the X.509 certificate chain.

pwszVer

A pointer to the version string of the attestation statement. Set for TPM attestation.

cbCertInfo

The size, in bytes, of the certificate information pointed to by pbCertInfo. Set for TPM attestation.

pbCertInfo

A pointer to the certificate information. Set for TPM attestation.

cbPubArea

The size, in bytes, of the public key area pointed to by pbPubArea. Set for TPM attestation.

pbPubArea

A pointer to the public key area. Set for TPM attestation.

Requirements

Requirement Value
Header webauthn.h

See also

WEBAUTHN_CREDENTIAL_ATTESTATION

WEBAUTHN_X5C


Feedback

Was this page helpful?

Additional resources