WebAuthnProtocolParser

Strict, serialization-library-neutral WebAuthn binary protocol parser.

Functions

Link copied to clipboard
fun extractAuthenticatorData(attestationObject: ByteArray, field: String = "attestationObject"): ValidationResult<Base64UrlBytes>

Extracts the authData byte string from a structurally valid attestation object.

Link copied to clipboard

Interprets a byte-preserving assertion response without depending on its JSON representation.

Link copied to clipboard

Parses an authenticator-data byte sequence according to WebAuthn L3 §6.1.

Link copied to clipboard

Interprets a byte-preserving registration response without depending on its JSON representation.