diff options
author | Michael Brown | 2012-05-08 13:10:01 +0200 |
---|---|---|
committer | Michael Brown | 2012-05-08 13:49:01 +0200 |
commit | 29dcb0631b1c914fc74114dd3c6add39b508953f (patch) | |
tree | 67c95f2e62bd1a57effa32bb360169be92dc0265 /src/include/ipxe/validator.h | |
parent | [crypto] Add x509_auto_append() (diff) | |
download | ipxe-29dcb0631b1c914fc74114dd3c6add39b508953f.tar.gz ipxe-29dcb0631b1c914fc74114dd3c6add39b508953f.tar.xz ipxe-29dcb0631b1c914fc74114dd3c6add39b508953f.zip |
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/validator.h')
-rw-r--r-- | src/include/ipxe/validator.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 <ipxe/interface.h> +#include <ipxe/x509.h> + +extern int create_validator ( struct interface *job, struct x509_chain *chain ); + +#endif /* _IPXE_VALIDATOR_H */ |