CJOSE
0.6.2.2
Toggle main menu visibility
Loading...
Searching...
No Matches
include
cjose
base64.h
Go to the documentation of this file.
1
/*
2
* Copyrights
3
*
4
* Portions created or assigned to Cisco Systems, Inc. are
5
* Copyright (c) 2014-2016 Cisco Systems, Inc. All Rights Reserved.
6
*/
15
16
#ifndef CJOSE_BASE64_H
17
#define CJOSE_BASE64_H
18
19
#include <stdbool.h>
20
#include <stddef.h>
21
#include <stdint.h>
22
#include "
cjose/error.h
"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
39
bool
cjose_base64_encode
(
const
uint8_t *input,
const
size_t
inlen,
char
**output,
size_t
*outlen,
cjose_err
*err);
40
52
bool
cjose_base64url_encode
(
const
uint8_t *input,
const
size_t
inlen,
char
**output,
size_t
*outlen,
cjose_err
*err);
53
66
bool
cjose_base64_decode
(
const
char
*input,
const
size_t
inlen, uint8_t **output,
size_t
*outlen,
cjose_err
*err);
67
80
bool
cjose_base64url_decode
(
const
char
*input,
const
size_t
inlen, uint8_t **output,
size_t
*outlen,
cjose_err
*err);
81
82
#ifdef __cplusplus
83
}
84
#endif
85
86
#endif
// CJOSE_BASE64_H
cjose_base64_decode
bool cjose_base64_decode(const char *input, const size_t inlen, uint8_t **output, size_t *outlen, cjose_err *err)
cjose_base64url_encode
bool cjose_base64url_encode(const uint8_t *input, const size_t inlen, char **output, size_t *outlen, cjose_err *err)
cjose_base64_encode
bool cjose_base64_encode(const uint8_t *input, const size_t inlen, char **output, size_t *outlen, cjose_err *err)
cjose_base64url_decode
bool cjose_base64url_decode(const char *input, const size_t inlen, uint8_t **output, size_t *outlen, cjose_err *err)
error.h
Datatypes and functions for error reporting.
cjose_err
Definition
error.h:67
Generated on
for CJOSE by
1.17.0