FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
certs.h
Go to the documentation of this file.
1 #ifndef __included_certs_h__
2 #define __included_certs_h__
3 
4 #include <picotls/openssl.h>
5 #include <picotls/pembase64.h>
6 
7 int ptls_compare_separator_line (const char *line, const char *begin_or_end,
8  const char *label);
9 
10 int ptls_get_bio_pem_object (BIO * bio, const char *label,
11  ptls_buffer_t * buf);
12 
13 int ptls_load_bio_pem_objects (BIO * bio, const char *label,
14  ptls_iovec_t * list, size_t list_max,
15  size_t * nb_objects);
16 
17 int ptls_load_bio_certificates (ptls_context_t * ctx, BIO * bio);
18 
19 int load_bio_certificate_chain (ptls_context_t * ctx, const char *cert_data);
20 
21 int load_bio_private_key (ptls_context_t * ctx, const char *pk_data);
22 
23 #endif /* __included_certs_h__ */
24 
25 /*
26  * fd.io coding-style-patch-verification: ON
27  *
28  * Local Variables:
29  * eval: (c-set-style "gnu")
30  * End:
31  */
load_bio_private_key
int load_bio_private_key(ptls_context_t *ctx, const char *pk_data)
Definition: certs.c:192
label
u32 label
Definition: fib_types.api:25
load_bio_certificate_chain
int load_bio_certificate_chain(ptls_context_t *ctx, const char *cert_data)
Definition: certs.c:178
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: certs.c:102
ptls_get_bio_pem_object
int ptls_get_bio_pem_object(BIO *bio, const char *label, ptls_buffer_t *buf)
Definition: certs.c:59
ptls_load_bio_certificates
int ptls_load_bio_certificates(ptls_context_t *ctx, BIO *bio)
Definition: certs.c:154
buf
u64 buf
Definition: application.c:493
ctx
long ctx[MAX_CONNS]
Definition: main.c:144
ptls_compare_separator_line
int ptls_compare_separator_line(const char *line, const char *begin_or_end, const char *label)
Definition: certs.c:24