UserKeySigningParameters

data class UserKeySigningParameters(val context: Context, val algorithm: String, val userKey: UserKey, val privateKey: PrivateKey, val signature: Signature?, val challenge: String, val issueTime: Instant, val notBeforeTime: Instant, val expiration: Instant, val customClaims: Map<String, Any> = emptyMap())

Parameters required for signing a JWT using a UserKey with custom claims support.

Constructors

Link copied to clipboard
constructor(context: Context, algorithm: String, userKey: UserKey, privateKey: PrivateKey, signature: Signature?, challenge: String, issueTime: Instant, notBeforeTime: Instant, expiration: Instant, customClaims: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard

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

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

Additional custom claims to include in the JWT

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 time before which the JWT is not valid

Link copied to clipboard

The private key to use for signing

Link copied to clipboard

Optional CryptoObject signature for hardware-backed signing

Link copied to clipboard

The user key containing key information and metadata