summaryrefslogtreecommitdiff
path: root/jose
Commit message (Collapse)AuthorAgeFilesLines
* apr_jose: Fix a the case where existing memory buffers were used, but theyGraham Leggett2020-03-161-40/+20
| | | | | | | were not initialised. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1875220 13f79535-47bb-0310-9956-ffa450edef68
* Add APR_DECLARE() to apr_json_*() and apr_jose_*() functions declaration toIvan Zhakov2019-10-082-6/+8
| | | | | | fix 32-bit Windows build. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1868125 13f79535-47bb-0310-9956-ffa450edef68
* jose: declare local functions as static.Yann Ylavic2019-01-171-0/+13
| | | | | | | | | | | Are those oversights in "apr_jose.h" from r1839819? For now, avoid: warning: no previous prototype for ‘...’ [-Wmissing-prototypes] declaring them static. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1851530 13f79535-47bb-0310-9956-ffa450edef68
* Perform nesting level checks before each invocation of apr_jose_decode()Graham Leggett2018-09-021-0/+35
| | | | | | | (when a jose structure has been created to carry the error message). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1839897 13f79535-47bb-0310-9956-ffa450edef68
* Explicitly declare parameters as nonnull.Graham Leggett2018-09-021-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1839894 13f79535-47bb-0310-9956-ffa450edef68
* apr_jose: Change the signature of apr_jose_make() so that it is noGraham Leggett2018-09-012-210/+203
| | | | | | | | longer neceessary to pass in a pointer to a NULL pointer, but keep supporting the option to pre-allocate structures. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1839859 13f79535-47bb-0310-9956-ffa450edef68
* apr_json: Split apr_json_object_set() into apr_json_object_set() withGraham Leggett2018-09-011-59/+43
| | | | | | | | | a simple key, and apr_json_object_set() with the key as an apr_json_value_t, so the caller has a simpler interface to use to add a key value pair to an object. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1839840 13f79535-47bb-0310-9956-ffa450edef68
* apr_jose: Add support for encoding and decoding of JSON Object Graham Leggett2018-09-013-0/+2872
Signing and Encryption messages as per RFC7515, RFC7516, RFC7517 and RFC7519. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1839819 13f79535-47bb-0310-9956-ffa450edef68