JweHeader

@Serializable
data class JweHeader(val algorithm: JweAlgorithm?, val encryption: JweEncryption?, val keyId: String? = null, val type: String?, val contentType: String? = null, val jsonWebKey: JsonWebKey? = null, val ephemeralKeyPair: JsonWebKey? = null, val agreementPartyUInfo: ByteArray? = null, val agreementPartyVInfo: ByteArray? = null)

Header of a JweEncrypted or JweDecrypted.

Constructors

Link copied to clipboard
constructor(algorithm: JweAlgorithm?, encryption: JweEncryption?, keyId: String? = null, type: String?, contentType: String? = null, jsonWebKey: JsonWebKey? = null, ephemeralKeyPair: JsonWebKey? = null, agreementPartyUInfo: ByteArray? = null, agreementPartyVInfo: ByteArray? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "apu")
val agreementPartyUInfo: ByteArray? = null
Link copied to clipboard
@SerialName(value = "apv")
val agreementPartyVInfo: ByteArray? = null
Link copied to clipboard
@SerialName(value = "alg")
val algorithm: JweAlgorithm?
Link copied to clipboard
@SerialName(value = "cty")
val contentType: String? = null
Link copied to clipboard
@SerialName(value = "enc")
val encryption: JweEncryption?
Link copied to clipboard
@SerialName(value = "epk")
val ephemeralKeyPair: JsonWebKey? = null
Link copied to clipboard
@SerialName(value = "jwk")
val jsonWebKey: JsonWebKey? = null
Link copied to clipboard
@SerialName(value = "kid")
val keyId: String? = null
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "typ")
val type: String?

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard