Index: src/platform/vboot_reference/include/kernel_utility.h |
diff --git a/src/platform/vboot_reference/include/kernel_utility.h b/src/platform/vboot_reference/include/kernel_utility.h |
index 1563278547be25bf55bc4f44224be33d1e3b4f7b..1cb7f1ae501a0749b36fba1e32855621c6f4d8d7 100644 |
--- a/src/platform/vboot_reference/include/kernel_utility.h |
+++ b/src/platform/vboot_reference/include/kernel_utility.h |
@@ -28,6 +28,9 @@ class KernelUtility { |
// Return true on success, false on failure. |
bool ParseCmdLineOptions(int argc, char* argv[]); |
+ // Print description of a verified boot kernel image. |
+ void DescribeSignedImage(); |
+ |
// Generate a verified boot image by reading kernel data from in_file_. |
// Return true on success, false on failure. |
bool GenerateSignedImage(); |
@@ -41,6 +44,7 @@ class KernelUtility { |
bool is_generate() { return is_generate_; } |
bool is_verify() { return is_verify_; } |
+ bool is_describe() { return is_describe_; } |
private: |
@@ -67,6 +71,7 @@ class KernelUtility { |
std::string out_file_; |
bool is_generate_; // Are we generating a new image? |
bool is_verify_; // Are we just verifying an already signed image? |
+ bool is_describe_; // Should we print out description of the image? |
}; |
} // namespace vboot_reference |