JweEncrypted

data class JweEncrypted(val header: JweHeader, val headerAsParsed: ByteArray, val encryptedKey: ByteArray? = null, val iv: ByteArray, val ciphertext: ByteArray, val authTag: ByteArray)(source)

Representation of an encrypted JSON Web Encryption object, consisting of its 5 parts: Header, encrypted key, IV, ciphertext, authentication tag.

See RFC 7516

See also

Constructors

Link copied to clipboard
constructor(header: JweHeader, headerAsParsed: ByteArray, encryptedKey: ByteArray? = null, iv: ByteArray, ciphertext: ByteArray, authTag: ByteArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Encodes to JWS compact serialization (Base64-URL with dots).

Link copied to clipboard
open override fun toString(): String