FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
b
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
Functions
d
f
g
l
m
n
o
p
t
v
Variables
Typedefs
Enumerations
Enumerator
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
c
e
g
h
k
m
n
o
r
s
Related Functions
c
d
e
h
i
m
o
p
r
s
v
Source
Files
Symbols
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
certs.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Cisco and/or its affiliates.
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at:
6
*
7
* http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
16
#ifndef __included_quic_certs_h__
17
#define __included_quic_certs_h__
18
19
20
#include <picotls/openssl.h>
21
#include <picotls/pembase64.h>
22
23
int
ptls_compare_separator_line
(
const
char
*line,
const
char
*begin_or_end,
24
const
char
*
label
);
25
26
int
ptls_get_bio_pem_object
(BIO * bio,
const
char
*
label
,
27
ptls_buffer_t *
buf
);
28
29
int
ptls_load_bio_pem_objects
(BIO * bio,
const
char
*
label
,
30
ptls_iovec_t * list,
size_t
list_max,
31
size_t
* nb_objects);
32
33
int
ptls_load_bio_certificates
(ptls_context_t *
ctx
, BIO * bio);
34
35
int
load_bio_certificate_chain
(ptls_context_t *
ctx
,
const
char
*cert_data);
36
37
int
load_bio_private_key
(ptls_context_t *
ctx
,
const
char
*pk_data);
38
39
40
#endif
/* __included_quic_certs_h__ */
41
42
/*
43
* fd.io coding-style-patch-verification: ON
44
*
45
* Local Variables:
46
* eval: (c-set-style "gnu")
47
* End:
48
*/
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
src
plugins
quic
certs.h
Generated on Sat Jan 8 2022 10:04:21 for FD.io VPP by
1.8.17