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[] aaguid, ushort credentialIdLength, byte[] credentialID, COSEKey credentialPublicKey)
 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[]  aaguid,
ushort  credentialIdLength,
byte[]  credentialID,
COSEKey  credentialPublicKey 
)
inline

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

Parameters
aaguidThe AAGUID of the authenticator (16 bytes).
credentialIdLengthThe length of the Credential ID (2 bytes).
credentialIDThe Credential ID (variable length).
credentialPublicKeyThe Credential Public Key in CrescendoDLL.PCSC.FIDODataStructures.COSEKey format.

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)