Jwa

sealed interface Jwa(source)

Sealed interface representing a JSON Web Algorithm (JWA) identifier as defined in RFC 7518.

All concrete signing and encryption algorithms in the library implement this interface. The id property holds the algorithm identifier string used in JWT headers (e.g. "HS256", "RSA-OAEP"). Use Jwa.fromId to resolve an identifier string to the corresponding instance.

See also

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Marker interface for JWA algorithms that require a digest (hashing) function.

Properties

Link copied to clipboard
abstract val id: String

The JWA algorithm identifier string (e.g. "HS256", "RS256").