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

Authenticator Data structure as described in the WebAuthn specification. More...

Public Member Functions

  AuthenticatorData (byte[] authData)
  Parses the AuthData byte array received from the MakeCredentialResponse to a data-structure described in the WebAuthn specification.
 
byte[]  ToByteArray ()
  Converts the Authenticator Data structure to a byte array.
 

Properties

AttestedCredentialData AttestedCredentialData [get, set]
  Attested credential data (variable length, only present if AT flag is set)
 
Extensions Extensions [get, set]
  Extensions (variable length, CBOR-encoded, only present if ED flag is set)
 
AuthenticatorDataFlags  Flags [get, set]
  Flags indicating various states (1 byte)
 
byte[]  RpIdHash = default! [get, set]
  SHA-256 hash of the RP ID the credential is scoped to (32 bytes)
 
uint  SignatureCounter [get, set]
  Signature counter (4 bytes, big-endian)
 

Detailed Description

Authenticator Data structure as described in the WebAuthn specification.

Constructor & Destructor Documentation

◆ AuthenticatorData()

Member Function Documentation

◆ ToByteArray()

Property Documentation

◆ AttestedCredentialData

◆ Extensions

◆ Flags

◆ RpIdHash

◆ SignatureCounter