aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/certstore.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2024-08-12 12:26:52 +0100
committerMichael Brown <mcb30@ipxe.org>2024-08-12 12:38:08 +0100
commitd85590b6584499569c19f7ee4a1e0c10d5132f70 (patch)
treefa99029b98f48054c8469998e2e27141c12fca26 /src/include/ipxe/certstore.h
parent59e2b03e6ac842d0e69bc4f757bf6da452fca074 (diff)
downloadipxe-d85590b6584499569c19f7ee4a1e0c10d5132f70.tar.gz
[crypto] Centralise mechanisms for identifying X.509 certificates
Centralise all current mechanisms for identifying an X.509 certificate (by raw content, by subject, by issuer and serial number, and by matching public key), and remove the certstore-specific and CMS-specific variants of these functions. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/certstore.h')
-rw-r--r--src/include/ipxe/certstore.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/ipxe/certstore.h b/src/include/ipxe/certstore.h
index ce96666cf..e276d6792 100644
--- a/src/include/ipxe/certstore.h
+++ b/src/include/ipxe/certstore.h
@@ -9,14 +9,10 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
-#include <ipxe/asn1.h>
#include <ipxe/x509.h>
-#include <ipxe/privkey.h>
extern struct x509_chain certstore;
-extern struct x509_certificate * certstore_find ( struct asn1_cursor *raw );
-extern struct x509_certificate * certstore_find_key ( struct private_key *key );
extern void certstore_add ( struct x509_certificate *cert );
extern void certstore_del ( struct x509_certificate *cert );