FD.io VPP  v20.05.1-6-gf53edbc3b
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  */
int ptls_load_bio_certificates(ptls_context_t *ctx, BIO *bio)
Definition: certs.c:154
long ctx[MAX_CONNS]
Definition: main.c:144
u32 label
Definition: fib_types.api:25
int ptls_compare_separator_line(const char *line, const char *begin_or_end, const char *label)
Definition: certs.c:24
int load_bio_private_key(ptls_context_t *ctx, const char *pk_data)
Definition: certs.c:192
int load_bio_certificate_chain(ptls_context_t *ctx, const char *cert_data)
Definition: certs.c:178
int ptls_get_bio_pem_object(BIO *bio, const char *label, ptls_buffer_t *buf)
Definition: certs.c:59
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