|
iPXE
|
Image trust management. More...
#include <stdlib.h>#include <string.h>#include <errno.h>#include <time.h>#include <syslog.h>#include <ipxe/image.h>#include <ipxe/cms.h>#include <ipxe/validator.h>#include <ipxe/monojob.h>#include <usr/imgtrust.h>Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| int | imgverify (struct image *image, struct image *signature, const char *name) |
| Verify image using downloaded signature. More... | |
Image trust management.
Definition in file imgtrust.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
Verify image using downloaded signature.
| image | Image to verify |
| signature | Image containing signature |
| name | Required common name, or NULL to allow any name |
| rc | Return status code |
Definition at line 51 of file imgtrust.c.
References cms_participant::chain, cms_put(), cms_verify(), create_validator(), cms_participant::list, list_for_each_entry, LOG_ERR, LOG_NOTICE, monojob, monojob_wait(), image::name, name, NULL, cms_message::participants, rc, signature, strerror(), and syslog.
Referenced by imgverify_exec().
1.8.15