ip: Replace Sematics for Interface IP addresses
[vpp.git] / src / plugins / tlspicotls / certs.h
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  */