iPXE
|
Certificate validator. More...
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
int | create_validator (struct interface *job, struct x509_chain *chain, struct x509_root *root) |
Instantiate a certificate validator. More... | |
Certificate validator.
Definition in file validator.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
int create_validator | ( | struct interface * | job, |
struct x509_chain * | chain, | ||
struct x509_root * | root | ||
) |
Instantiate a certificate validator.
job | Job control interface |
chain | X.509 certificate chain |
root | Root of trust, or NULL to use default |
rc | Return status code |
Definition at line 759 of file validator.c.
References validator::buffer, validator::chain, DBGC2, EINVAL, ENOMEM, intf_init(), intf_plug_plug(), validator::job, validator::process, process_init(), rc, ref_init, ref_put, validator::refcnt, root, validator::root, validator_finished(), validator_free(), validator_job_desc, validator_name(), validator_process_desc, validator_xfer_desc, x509_chain_get(), x509_root_get(), validator::xfer, xferbuf_malloc_init(), and zalloc().
Referenced by imgverify(), and tls_new_server_hello_done().