Jose.Jwatype alg = [ | `RS256HMAC using SHA-256
*)| `HS256RSASSA-PKCS1-v1_5 using SHA-256
*)| `ES256ECDSA using P-256 and SHA-256
*)| `ES384ECDSA using P-384 and SHA-384
*)| `ES512ECDSA using P-521 and SHA-512
*)| `EdDSA| `RSA_OAEPRSAES OAEP using default parameters
*)| `RSA1_5RSA PKCS 1
*)| `None| `Unsupported of string ]RS256 and HS256 and none is currently the only supported algs for signature - RSA_OAEP is currently the only supported alg for encryptionval alg_to_string : alg -> stringval alg_of_string : string -> algval alg_to_json : alg -> Yojson.Safe.tval alg_of_json : Yojson.Safe.t -> algval kty_to_string : kty -> stringval kty_of_string : string -> ktytype enc = [ | `A128CBC_HS256AES_128_CBC_HMAC_SHA_256 authenticated encryption algorithm, https://tools.ietf.org/html/rfc7518#section-5.2.3
*)| `A256GCMAES GCM using 256-bit key
*) ]https://tools.ietf.org/html/rfc7518#section-5
val enc_to_string : enc -> stringval enc_of_string : string -> enc