FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
certs.h File Reference
+ Include dependency graph for certs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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)
 

Function Documentation

◆ load_bio_certificate_chain()

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

Definition at line 178 of file certs.c.

◆ load_bio_private_key()

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

Definition at line 192 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 24 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 59 of file certs.c.

◆ ptls_load_bio_certificates()

int ptls_load_bio_certificates ( ptls_context_t *  ctx,
BIO *  bio 
)

Definition at line 154 of file certs.c.

◆ 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 102 of file certs.c.