31 #define JOSE_B64_MAP "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_" size_t jose_b64_enc_buf(const void *i, size_t il, void *o, size_t ol)
Encodes data to a URL-safe Base64 buffer.
json_t * jose_b64_enc(const void *i, size_t il)
Encodes data to a URL-safe Base64 JSON string.
The interface for chained IO.
Definition: io.h:61
jose_io_t * jose_b64_enc_io(jose_io_t *next)
Creates a new IO object which performs URL-safe Base64 encoding.
json_t * jose_b64_dec_load(const json_t *i)
Decodes a JSON string from a URL-safe Base64 JSON string.
jose_io_t * jose_b64_dec_io(jose_io_t *next)
Creates a new IO object which performs URL-safe Base64 decoding.
json_t * jose_b64_enc_dump(const json_t *i)
Encodes the input JSON as a URL-safe Base64 JSON string.
size_t jose_b64_dec_buf(const void *i, size_t il, void *o, size_t ol)
Decodes a URL-safe Base64 buffer to an output buffer.
size_t jose_b64_dec(const json_t *i, void *o, size_t ol)
Decodes a URL-safe Base64 JSON string to a buffer.