From 29dcb0631b1c914fc74114dd3c6add39b508953f Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 8 May 2012 12:10:01 +0100 Subject: [crypto] Add asynchronous certificate validator To allow for automatic download of cross-signing certificates and for OCSP, the validation of certificates must be an asynchronous process. Create a stub validator which uses a job-control interface to report the result of certificate validation. Signed-off-by: Michael Brown --- src/include/ipxe/validator.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/include/ipxe/validator.h (limited to 'src/include/ipxe/validator.h') diff --git a/src/include/ipxe/validator.h b/src/include/ipxe/validator.h new file mode 100644 index 00000000..23bdab42 --- /dev/null +++ b/src/include/ipxe/validator.h @@ -0,0 +1,17 @@ +#ifndef _IPXE_VALIDATOR_H +#define _IPXE_VALIDATOR_H + +/** @file + * + * Certificate validator + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#include +#include + +extern int create_validator ( struct interface *job, struct x509_chain *chain ); + +#endif /* _IPXE_VALIDATOR_H */ -- cgit v1.2.3-55-g7522