at_base64url.h 350 B

123456789101112131415161718
  1. /*!
  2. * Copyrights
  3. *
  4. *
  5. */
  6. #ifndef AT_BASE64URL_H
  7. #define AT_BASE64URL_H
  8. #include <string.h>
  9. #include <stdlib.h>
  10. #include <stdint.h>
  11. #include <assert.h>
  12. int at_base64url_decode(const char *input, size_t inlen, uint8_t **output, size_t *outlen);
  13. int at_base64url_encode(const uint8_t *input, size_t inlen, char **output, size_t *outlen);
  14. #endif