iPXE
certstore.h
Go to the documentation of this file.
00001 #ifndef _IPXE_CERTSTORE_H
00002 #define _IPXE_CERTSTORE_H
00003 
00004 /** @file
00005  *
00006  * Certificate store
00007  *
00008  */
00009 
00010 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00011 
00012 #include <ipxe/asn1.h>
00013 #include <ipxe/x509.h>
00014 
00015 extern struct x509_chain certstore;
00016 
00017 extern struct x509_certificate * certstore_find ( struct asn1_cursor *raw );
00018 extern struct x509_certificate * certstore_find_key ( struct asn1_cursor *key );
00019 extern void certstore_add ( struct x509_certificate *cert );
00020 extern void certstore_del ( struct x509_certificate *cert );
00021 
00022 #endif /* _IPXE_CERTSTORE_H */