# Functions

JWKFromKey creates a JWK from an opaque key struct.
JWKFromX25519Key is similar to JWKFromKey but is specific to X25519 keys when using a public key as raw []byte.
PubKeyBytesToJWK converts marshalled bytes of keyType into JWK.
PublicKeyFromJWK builds a crypto.PublicKey from jwkKey.