libwebsockets
Lightweight C library for HTML5 websockets
|
Data Fields | |
const char * | alg |
const char * | jose_hdr |
size_t | jose_hdr_len |
char * | out |
size_t * | out_len |
char * | temp |
int | tl |
const char* lws_jwt_sign_info::alg |
entry: signing alg name, like "RS256"
const char* lws_jwt_sign_info::jose_hdr |
entry: optional JOSE hdr; if present, alg field is ignored; instead the whole claim object has to be provided in this parameter
size_t lws_jwt_sign_info::jose_hdr_len |
entry: if jose_hdr is not NULL, JOSE header length without terminating '\0'
char* lws_jwt_sign_info::out |
exit: signed JWT in compact form
size_t* lws_jwt_sign_info::out_len |
entry,exit: buffer size of out; actual size of JWT on exit
char* lws_jwt_sign_info::temp |
exit undefined content, used by the function as a temporary scratchpad; MUST be large enogh to store various intermediate representations
int lws_jwt_sign_info::tl |
entry: size of temp buffer