WEBAUTHN_COMMON_ATTESTATION structure (webauthn.h)
The structure containing the common data for an attestation.
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 signature that was generated for this attestation.
pbSignature
A pointer to the signature that was generated for this attestation.
cX5c
Array of X.509 DER encoded certificates. The first certificate is the signer, leaf certificate. This is set for Full Basic Attestation. If not set, then this is a Self Attestation.
pX5c
A pointer to the array of X.509 certificates.
pwszVer
A pointer to the version of the attestation statement. (This is set for tpm.)
cbCertInfo
The size of the certificate information. (This is set for tpm.)
pbCertInfo
A pointer to the certificate information. (This is set for tpm.)
cbPubArea
The size of the public key area. (This is set for tpm.)
pbPubArea
A pointer to the public key area. (This is set for tpm.)
Requirements
Requirement | Value |
---|---|
Header | webauthn.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for