JwkOkpSerializer

Serializer for Jwk.Okp values to and from their JSON Web Key representation per RFC 8037.

Encodes the required OKP parameters (crv, x) and optional private key parameter (d) as Base64URL strings, along with optional metadata fields (use, key_ops, alg, kid). Throws co.touchlab.kjwt.exception.MalformedJwkException during deserialization if a required field is missing.

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

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