Authenticator Data structure as described in the [WebAuthn] (https://www.w3.org/TR/webauthn-2/#authenticator-data) specification.
More...
Authenticator Data structure as described in the [WebAuthn] (https://www.w3.org/TR/webauthn-2/#authenticator-data) specification.
◆ AuthenticatorData()
| CrescendoDLL.PCSC.FIDODataStructures.AuthenticatorData.AuthenticatorData |
( |
byte[] |
authData | ) |
|
|
inline |
Parses the AuthData byte array received from the MakeCredentialResponse to a data-structure described in the WebAuthn specification.
- Parameters
-
| authData | AuthData byte array received from the Authenticator. |
- Exceptions
-
| ArgumentException | Thrown if the authData is shorter than 37 bytes. |
◆ ToByteArray()
| byte[] CrescendoDLL.PCSC.FIDODataStructures.AuthenticatorData.ToByteArray |
( |
| ) |
|
|
inline |
Converts the Authenticator Data structure to a byte array.
- Returns
- The Authenticator Data as a byte array.
◆ AttestedCredentialData
Attested credential data (variable length, only present if AT flag is set)
◆ Extensions
| byte? [] CrescendoDLL.PCSC.FIDODataStructures.AuthenticatorData.Extensions |
|
getset |
Extensions (variable length, CBOR-encoded, only present if ED flag is set)
◆ Flags
Flags indicating various states (1 byte)
◆ RpIdHash
| byte [] CrescendoDLL.PCSC.FIDODataStructures.AuthenticatorData.RpIdHash = default! |
|
getset |
SHA-256 hash of the RP ID the credential is scoped to (32 bytes)
◆ SignatureCounter
| uint CrescendoDLL.PCSC.FIDODataStructures.AuthenticatorData.SignatureCounter |
|
getset |
Signature counter (4 bytes, big-endian)