iPXE
|
Image trust management commands. More...
#include <stdint.h>
#include <stdio.h>
#include <getopt.h>
#include <ipxe/image.h>
#include <ipxe/command.h>
#include <ipxe/parseopt.h>
#include <usr/imgmgmt.h>
#include <usr/imgtrust.h>
Go to the source code of this file.
Data Structures | |
struct | imgtrust_options |
"imgtrust" options More... | |
struct | imgverify_options |
"imgverify" options More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static int | imgtrust_exec (int argc, char **argv) |
The "imgtrust" command. More... | |
static int | imgverify_exec (int argc, char **argv) |
The "imgverify" command. More... | |
Variables | |
static struct option_descriptor | imgtrust_opts [] |
"imgtrust" option list More... | |
static struct command_descriptor | imgtrust_cmd |
"imgtrust" command descriptor More... | |
static struct option_descriptor | imgverify_opts [] |
"imgverify" option list More... | |
static struct command_descriptor | imgverify_cmd |
"imgverify" command descriptor More... | |
struct command image_trust_commands [] | __command |
Image trust management commands. More... | |
Image trust management commands.
Definition in file image_trust_cmd.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
The "imgtrust" command.
argc | Argument count |
argv | Argument list |
rc | Return status code |
Definition at line 68 of file image_trust_cmd.c.
References image_set_trust(), imgtrust_cmd, opts, parse_options(), printf(), rc, and strerror().
|
static |
The "imgverify" command.
argc | Argument count |
argv | Argument list |
rc | Return status code |
Definition at line 119 of file image_trust_cmd.c.
References imgacquire(), imgverify(), imgverify_cmd, optind, opts, parse_options(), printf(), rc, signature, strerror(), and unregister_image().
|
static |
"imgtrust" option list
Definition at line 50 of file image_trust_cmd.c.
|
static |
"imgtrust" command descriptor
Definition at line 58 of file image_trust_cmd.c.
Referenced by imgtrust_exec().
|
static |
"imgverify" option list
Definition at line 98 of file image_trust_cmd.c.
|
static |
"imgverify" command descriptor
Definition at line 108 of file image_trust_cmd.c.
Referenced by imgverify_exec().
struct command image_trust_commands [] __command |
Image trust management commands.
Definition at line 165 of file image_trust_cmd.c.