SigningParameters

data class SigningParameters(val context: Context, val algorithm: String, val keyPair: KeyPair, val signature: Signature?, val kid: String, val userId: String, val challenge: String, val issueTime: Instant, val notBeforeTime: Instant, val expiration: Instant, val attestation: Attestation = Attestation.None)

Parameters required for signing a JWT with device binding authentication.

Constructors

Link copied to clipboard
constructor(context: Context, algorithm: String, keyPair: KeyPair, signature: Signature?, kid: String, userId: String, challenge: String, issueTime: Instant, notBeforeTime: Instant, expiration: Instant, attestation: Attestation = Attestation.None)

Properties

Link copied to clipboard

The JWS algorithm to use for signing (e.g., "RS256")

Link copied to clipboard

The attestation type to include in the key registration

Link copied to clipboard

The challenge string to include in the JWT claims

Link copied to clipboard

The Android context for cryptographic operations

Link copied to clipboard

The time when the JWT expires

Link copied to clipboard

The time when the JWT was issued

Link copied to clipboard

The key pair to use for signing

Link copied to clipboard
val kid: String

The key identifier to include in the JWT header

Link copied to clipboard

The time before which the JWT is not valid

Link copied to clipboard

Optional CryptoObject signature for hardware-backed signing

Link copied to clipboard

The user identifier to include as the JWT subject