Crescendo SDK
Loading...
Searching...
No Matches
CrescendoDLL.PCSC.FIDODataStructures.AttestedCredentialData Class Reference

Represents an attestation statement returned by the authenticator during credential creation, as described in the WebAuthn specification. More...

Public Member Functions

 AttestedCredentialData (byte[] data)
 Initializes an AttestedCredentialData instance from a byte array containing the attested credential data.
 

Properties

byte[] Aaguid [get, set]
 AAGUID of the authenticator (16 bytes)
 
byte[] CredentialId [get, set]
 Credential ID (variable length)
 
ushort CredentialIdLength [get, set]
 Length of credential ID (2 bytes, big-endian)
 
COSEKey CredentialPublicKey [get, set]
 Credential public key in COSE_Key format (variable length, CBOR-encoded)
 

Detailed Description

Represents an attestation statement returned by the authenticator during credential creation, as described in the WebAuthn specification.

Constructor & Destructor Documentation

◆ AttestedCredentialData()

CrescendoDLL.PCSC.FIDODataStructures.AttestedCredentialData.AttestedCredentialData ( byte[]  data)
inline

Initializes an AttestedCredentialData instance from a byte array containing the attested credential data.

Parameters
dataattestedCredentialData byte array taken from the Authenticator Data structure.
Exceptions
ArgumentExceptionThrown if the data is shorter than 18 bytes.

Property Documentation

◆ Aaguid

byte [] CrescendoDLL.PCSC.FIDODataStructures.AttestedCredentialData.Aaguid
getset

AAGUID of the authenticator (16 bytes)

◆ CredentialId

byte [] CrescendoDLL.PCSC.FIDODataStructures.AttestedCredentialData.CredentialId
getset

Credential ID (variable length)

◆ CredentialIdLength

ushort CrescendoDLL.PCSC.FIDODataStructures.AttestedCredentialData.CredentialIdLength
getset

Length of credential ID (2 bytes, big-endian)

◆ CredentialPublicKey

COSEKey CrescendoDLL.PCSC.FIDODataStructures.AttestedCredentialData.CredentialPublicKey
getset

Credential public key in COSE_Key format (variable length, CBOR-encoded)