pub fn parse_authenticator_data(data: &[u8]) -> Result<AuthenticatorData>Expand description
Parse the raw authenticator data bytes into an AuthenticatorData.
§Errors
WebAuthnError::InvalidAuthenticatorData— bytes too short or malformed.WebAuthnError::InvalidPublicKey/WebAuthnError::CborDecodeError— the embedded COSE key cannot be decoded.