JwaSerializer

Serializer for Jwa values as their JWA algorithm identifier string (e.g. "HS256", "RSA-OAEP").

Converts between the sealed Jwa hierarchy and its string id representation using Jwa.fromId for deserialization. Registered via @Serializable(JwaSerializer::class) on Jwa.

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): Jwa
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: Jwa)