Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / ipxe / src / include / ipxe / certstore.h
1 #ifndef _IPXE_CERTSTORE_H
2 #define _IPXE_CERTSTORE_H
3
4 /** @file
5  *
6  * Certificate store
7  *
8  */
9
10 FILE_LICENCE ( GPL2_OR_LATER );
11
12 #include <ipxe/asn1.h>
13 #include <ipxe/x509.h>
14
15 extern struct x509_chain certstore;
16
17 extern struct x509_certificate * certstore_find ( struct asn1_cursor *raw );
18 extern struct x509_certificate * certstore_find_key ( struct asn1_cursor *key );
19 extern void certstore_add ( struct x509_certificate *cert );
20
21 #endif /* _IPXE_CERTSTORE_H */