PrfAssertionResult

class PrfAssertionResult(val credentialId: String, val authenticatorData: ByteArray, val clientDataJson: ByteArray, val signature: ByteArray, val assertionResponseJson: String, val prfOutput: ByteArray?, val prfOutputSecond: ByteArray? = null)

Result of a passkey authentication with PRF extension. Extends the standard assertion with the 32-byte PRF output.

Constructors

Link copied to clipboard
constructor(credentialId: String, authenticatorData: ByteArray, clientDataJson: ByteArray, signature: ByteArray, assertionResponseJson: String, prfOutput: ByteArray?, prfOutputSecond: ByteArray? = null)

Properties

Link copied to clipboard

Full assertion response JSON.

Link copied to clipboard

Raw authenticator data bytes.

Link copied to clipboard

Raw client data JSON bytes.

Link copied to clipboard

Credential ID used for this assertion.

Link copied to clipboard

Whether PRF produced a result for the primary salt.

Link copied to clipboard

Whether PRF produced a result for the secondary salt (multi-salt ceremony).

Link copied to clipboard

32-byte PRF output — deterministic for the same passkey + salt. Null if the authenticator doesn't support PRF or the extension wasn't evaluated.

Link copied to clipboard

32-byte PRF output for the second salt when the caller passed one to authenticateWithPrf. Null when the caller didn't request a second salt OR when the authenticator only evaluated the first.

Link copied to clipboard

ECDSA P-256 signature.