AttestationParser
object AttestationParser
Parses WebAuthn registration responses to extract the P-256 public key.
Two extraction paths, tried in order:
Level 3
publicKeyfield — DER SubjectPublicKeyInfo, parsed via Java KeyFactory (preferred)CBOR fallback — attestationObject → authData → COSE key → x/y coordinates
Google Password Manager uses none attestation by default, which simplifies parsing.