JwkEcSerializer

Serializer for Jwk.Ec values to and from their JSON Web Key representation per RFC 7517.

Encodes the required EC parameters (crv, x, y) 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.Ec
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: Jwk.Ec)