Web Authn Signature
class WebAuthnSignature(signature: ByteArray, authenticatorData: ByteArray, clientDataJson: ByteArray) : Signature
A WebAuthn assertion in the exact Aptos BCS layout.
Credential acquisition stays application-owned; this type validates the assertion and packages it for a SingleKey authenticator.
Constructors
Functions
Link copied to clipboard
Get the raw signature bytes
Link copied to clipboard
fun verify(publicKey: Secp256r1PublicKey, signingMessage: ByteArray, options: WebAuthnVerificationOptions = WebAuthnVerificationOptions()): Boolean