mbedTLS
mbedtls_pem_context
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/5)...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
mbedtls_pem_context
mbedtls_pem_context struct
PEM context structure
Syntax
Show:
Summary
Declaration
from
pem.h:52
typedef
struct
mbedtls_pem_context
{
unsigned
char
*
MBEDTLS_PRIVATE
(
buf
)
;
size_t
MBEDTLS_PRIVATE
(
buflen
)
;
unsigned
char
*
MBEDTLS_PRIVATE
(
info
)
;
}
mbedtls_pem_context
;
Fields
Field
Declared as
private_buf
unsigned
char
*
MBEDTLS_PRIVATE
private_buflen
size_t
MBEDTLS_PRIVATE
private_info
unsigned
char
*
MBEDTLS_PRIVATE
mbedtls_pem_context::buf
unsigned
char
*
MBEDTLS_PRIVATE
(
buf
mbedtls_pem_context::buflen
size_t
MBEDTLS_PRIVATE
(
buflen
mbedtls_pem_context::info
unsigned
char
*
MBEDTLS_PRIVATE
(
info
Related Functions
Found 4 other functions taking a
mbedtls_pem_context
argument:
Function
Description
mbedtls_pem_free()
PEM context memory freeing
mbedtls_pem_read_buffer()
Read a buffer for PEM information and store the resulting data into the specified context buffers.
mbedtls_pem_init()
PEM context setup
mbedtls_pem_get_buffer()
Get the pointer to the decoded binary data in a PEM context.
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
mbedtls_pem_context
{
pem.h:52
mbedtls_pem_context
;
pem.h:57
mbedtls_pem_context
pem
;
dhm.c:489
mbedtls_dhm_parse_dhm()
void
mbedtls_pem_init
(
mbedtls_pem_context
*
ctx
)
pem.c:38
mbedtls_pem_init()
mbedtls_pem_init()::ctx
memset
(
ctx
,
0
,
sizeof
(
mbedtls_pem_context
)
)
;
pem.c:40
mbedtls_pem_init()
int
mbedtls_pem_read_buffer
(
mbedtls_pem_context
*
ctx
,
const
char
*
header
,
const
char
*
footer
,
pem.c:268
mbedtls_pem_read_buffer()
mbedtls_pem_read_buffer()::ctx
void
mbedtls_pem_free
(
mbedtls_pem_context
*
ctx
)
pem.c:482
mbedtls_pem_free()
mbedtls_pem_free()::ctx
mbedtls_platform_zeroize
(
ctx
,
sizeof
(
mbedtls_pem_context
)
)
;
pem.c:493
mbedtls_pem_free()
mbedtls_pem_context
;
pem.h:57
mbedtls_pem_context
void
mbedtls_pem_init
(
mbedtls_pem_context
*
ctx
)
;
pem.h:64
mbedtls_pem_init()
mbedtls_pem_init()::ctx
int
mbedtls_pem_read_buffer
(
mbedtls_pem_context
*
ctx
,
const
char
*
header
,
const
char
*
footer
,
pem.h:92
mbedtls_pem_read_buffer()
mbedtls_pem_read_buffer()::ctx
static
inline
const
unsigned
char
*
mbedtls_pem_get_buffer
(
mbedtls_pem_context
*
ctx
,
size_t
*
buflen
)
pem.h:109
mbedtls_pem_get_buffer()
mbedtls_pem_get_buffer()::ctx
void
mbedtls_pem_free
(
mbedtls_pem_context
*
ctx
)
;
pem.h:121
mbedtls_pem_free()
mbedtls_pem_free()::ctx
mbedtls_pem_context
pem
;
pkparse.c:982
mbedtls_pk_parse_key()
mbedtls_pem_context
pem
;
pkparse.c:1190
mbedtls_pk_parse_public_key()
mbedtls_pem_context
pem
;
x509_crl.c:510
mbedtls_x509_crl_parse()
mbedtls_pem_context
pem
;
x509_crt.c:1430
mbedtls_x509_crt_parse()
mbedtls_pem_context
pem
;
x509_csr.c:459
mbedtls_x509_csr_parse()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Instance
Scope
Location
Project
mbedtls_pem_init()::ctx
mbedtls_pem_init()
pem.h:64
mbedtls_pem_read_buffer()::ctx
mbedtls_pem_read_buffer()
pem.h:92
mbedtls_pem_get_buffer()::ctx
mbedtls_pem_get_buffer()
pem.h:109
mbedtls_pem_free()::ctx
mbedtls_pem_free()
pem.h:121
mbedtls_pem_init()::ctx
mbedtls_pem_init()
pem.c:38
mbedtls_pem_read_buffer()::ctx
mbedtls_pem_read_buffer()
pem.c:268
mbedtls_pem_free()::ctx
mbedtls_pem_free()
pem.c:482
Lifecycle
from
examples
All items filtered out
All items filtered out