JwkKeys
object JwkKeys
Constants for JSON Web Key (JWK) field names.
These constants should be used instead of string literals when working with JWK objects to prevent typos and ensure consistency.
Example Usage:
val jwk = mapOf(
JwkKeys.KTY to "EC",
JwkKeys.CRV to "P-256",
JwkKeys.X to xCoordinate,
JwkKeys.Y to yCoordinate
)
val keyType = jwk[JwkKeys.KTY]Content copied to clipboard