22 #include <openssl/evp.h> 23 #include <openssl/ec.h> 26 jose_openssl_jwk_from_EVP_PKEY(jose_cfg_t *cfg, EVP_PKEY *key);
29 jose_openssl_jwk_from_RSA(jose_cfg_t *cfg,
const RSA *key);
32 jose_openssl_jwk_from_EC_KEY(jose_cfg_t *cfg,
const EC_KEY *key);
35 jose_openssl_jwk_from_EC_POINT(jose_cfg_t *cfg,
const EC_GROUP *grp,
36 const EC_POINT *pub,
const BIGNUM *prv);
39 jose_openssl_jwk_to_EVP_PKEY(jose_cfg_t *cfg,
const json_t *jwk);
42 jose_openssl_jwk_to_RSA(jose_cfg_t *cfg,
const json_t *jwk);
45 jose_openssl_jwk_to_EC_KEY(jose_cfg_t *cfg,
const json_t *jwk);