PrivateJWK

data class PrivateJWK constructor(val kty: String = OKP, val kid: String, val crv: String, val d: String? = null)(source)

Represents a Private JSON Web Key (JWK). This class is used to hold the necessary information for a private key used in JSON Web Signature (JWS).

Constructors

Link copied to clipboard
constructor(kty: String = OKP, kid: String, crv: String, d: String? = null)

Properties

Link copied to clipboard
val crv: String

The cryptographic curve used by the key.

Link copied to clipboard
val d: String? = null

The private key value. It is nullable and defaults to null.

Link copied to clipboard
val kid: String

The key ID.

Link copied to clipboard
val kty: String

The key type. Default value is "OKP".