You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

certstore.h 532B

12345678910111213141516171819202122
  1. #ifndef _IPXE_CERTSTORE_H
  2. #define _IPXE_CERTSTORE_H
  3. /** @file
  4. *
  5. * Certificate store
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  9. #include <ipxe/asn1.h>
  10. #include <ipxe/x509.h>
  11. extern struct x509_chain certstore;
  12. extern struct x509_certificate * certstore_find ( struct asn1_cursor *raw );
  13. extern struct x509_certificate * certstore_find_key ( struct asn1_cursor *key );
  14. extern void certstore_add ( struct x509_certificate *cert );
  15. extern void certstore_del ( struct x509_certificate *cert );
  16. #endif /* _IPXE_CERTSTORE_H */