SimpleKey

class SimpleKey(val value: ByteArray) : Key(source)

A minimal Key implementation that wraps a raw ByteArray of key material.

Used as the key type for direct-key (dir) JWE encryption, where the content encryption key is supplied directly as bytes rather than being wrapped by an asymmetric algorithm.

See also

Constructors

Link copied to clipboard
constructor(value: ByteArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The raw key bytes that back this key material.