129 #endif // CJOSE_JWS_H void cjose_jws_release(cjose_jws_t *jws)
Functions and data structures for interacting with JSON Web Key (JWK) objects.
struct _cjose_jwk_int cjose_jwk_t
Definition: jwk.h:49
bool cjose_jws_verify(cjose_jws_t *jws, const cjose_jwk_t *jwk, cjose_err *err)
bool cjose_jws_export(cjose_jws_t *jws, const char **ser, cjose_err *err)
struct _cjose_jws_int cjose_jws_t
Definition: jws.h:31
cjose_header_t * cjose_jws_get_protected(cjose_jws_t *jws)
bool cjose_jws_get_plaintext(const cjose_jws_t *jws, uint8_t **plaintext, size_t *plaintext_len, cjose_err *err)
cjose_jws_t * cjose_jws_sign(const cjose_jwk_t *jwk, cjose_header_t *protected_header, const uint8_t *plaintext, size_t plaintext_len, cjose_err *err)
cjose_jws_t * cjose_jws_import(const char *compact, size_t compact_len, cjose_err *err)