FD.io VPP  v20.05-21-gb1500e9ff
Vector Packet Processing
certs.c File Reference
+ Include dependency graph for certs.c:

Go to the source code of this file.

Macros

#define PTLS_MAX_CERTS_IN_CONTEXT   16
 

Functions

int ptls_compare_separator_line (const char *line, const char *begin_or_end, const char *label)
 
int ptls_get_bio_pem_object (BIO *bio, const char *label, ptls_buffer_t *buf)
 
int ptls_load_bio_pem_objects (BIO *bio, const char *label, ptls_iovec_t *list, size_t list_max, size_t *nb_objects)
 
int ptls_load_bio_certificates (ptls_context_t *ctx, BIO *bio)
 
int load_bio_certificate_chain (ptls_context_t *ctx, const char *cert_data)
 
int load_bio_private_key (ptls_context_t *ctx, const char *pk_data)
 

Macro Definition Documentation

◆ PTLS_MAX_CERTS_IN_CONTEXT

#define PTLS_MAX_CERTS_IN_CONTEXT   16

Definition at line 133 of file certs.c.

Function Documentation

◆ load_bio_certificate_chain()

int load_bio_certificate_chain ( ptls_context_t *  ctx,
const char *  cert_data 
)

Definition at line 160 of file certs.c.

+ Here is the call graph for this function:

◆ load_bio_private_key()

int load_bio_private_key ( ptls_context_t *  ctx,
const char *  pk_data 
)

Definition at line 174 of file certs.c.

◆ ptls_compare_separator_line()

int ptls_compare_separator_line ( const char *  line,
const char *  begin_or_end,
const char *  label 
)

Definition at line 6 of file certs.c.

◆ ptls_get_bio_pem_object()

int ptls_get_bio_pem_object ( BIO *  bio,
const char *  label,
ptls_buffer_t *  buf 
)

Definition at line 41 of file certs.c.

+ Here is the call graph for this function:

◆ ptls_load_bio_certificates()

int ptls_load_bio_certificates ( ptls_context_t *  ctx,
BIO *  bio 
)

Definition at line 136 of file certs.c.

+ Here is the call graph for this function:

◆ ptls_load_bio_pem_objects()

int ptls_load_bio_pem_objects ( BIO *  bio,
const char *  label,
ptls_iovec_t *  list,
size_t  list_max,
size_t *  nb_objects 
)

Definition at line 84 of file certs.c.

+ Here is the call graph for this function: