JwsHeader

class JwsHeader(val typ: String? = null, val alg: String? = null, val kid: String? = null)

JSON Web Signature (JWS) Header Parameters

The Header Parameter names for use in JWSs are registered in the IANA "JSON Web Signature and Encryption Header Parameters" registry.

Spec: https://datatracker.ietf.org/doc/html/rfc7515

Parameters

typ

The "typ" (type) Header Parameter is used by JWS applications to declare the media type

alg

The "alg" (algorithm) Header Parameter identifies the cryptographic algorithm used to

kid

The "kid" (key ID) Header Parameter is a hint indicating which key was used to secure

Constructors

Link copied to clipboard
constructor(typ: String? = null, alg: String? = null, kid: String? = null)

Types

Link copied to clipboard
class Builder

Builder for JwsHeader.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val alg: String? = null
Link copied to clipboard
val kid: String? = null
Link copied to clipboard
val typ: String? = null