iPXE
certstore.h
Go to the documentation of this file.
1#ifndef _IPXE_CERTSTORE_H
2#define _IPXE_CERTSTORE_H
3
4/** @file
5 *
6 * Certificate store
7 *
8 */
9
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11FILE_SECBOOT ( PERMITTED );
12
13#include <ipxe/x509.h>
14
15extern struct x509_chain certstore;
16
17extern void certstore_add ( struct x509_certificate *cert );
18extern void certstore_del ( struct x509_certificate *cert );
19
20#endif /* _IPXE_CERTSTORE_H */
struct x509_chain certstore
Certificate store.
Definition certstore.c:90
void certstore_del(struct x509_certificate *cert)
Remove certificate from store.
Definition certstore.c:116
void certstore_add(struct x509_certificate *cert)
Add certificate to store.
Definition certstore.c:101
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
An X.509 certificate.
Definition x509.h:216
An X.509 certificate chain.
Definition x509.h:201
X.509 certificates.