mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-15 09:20:24 +00:00
cleaning up comments
This commit is contained in:
parent
d087eba569
commit
79e6a4b232
@ -86,7 +86,7 @@ public final class TCGEventLog {
|
|||||||
* Default is normal status (normal status is from-filesystem).
|
* Default is normal status (normal status is from-filesystem).
|
||||||
* Status will only change IF there is a UefiVariable event in this log,
|
* Status will only change IF there is a UefiVariable event in this log,
|
||||||
* and if that event causes a different status.
|
* and if that event causes a different status.
|
||||||
* */
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
private String vendorTableFileStatus = FILESTATUS_FROM_FILESYSTEM;
|
private String vendorTableFileStatus = FILESTATUS_FROM_FILESYSTEM;
|
||||||
|
|
||||||
|
@ -125,7 +125,7 @@ public class TpmPcrEvent {
|
|||||||
* Default is normal status (normal status is from-filesystem).
|
* Default is normal status (normal status is from-filesystem).
|
||||||
* Status will only change IF this is an event that has a UefiVariable,
|
* Status will only change IF this is an event that has a UefiVariable,
|
||||||
* and if that event causes a different status.
|
* and if that event causes a different status.
|
||||||
* */
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
private String vendorTableFileStatus = FILESTATUS_FROM_FILESYSTEM;
|
private String vendorTableFileStatus = FILESTATUS_FROM_FILESYSTEM;
|
||||||
|
|
||||||
|
@ -27,14 +27,22 @@ public class UefiGuid {
|
|||||||
* used for conversion to uuid time.
|
* used for conversion to uuid time.
|
||||||
*/
|
*/
|
||||||
private static final int UUID_EPOCH_DIVISOR = 10000;
|
private static final int UUID_EPOCH_DIVISOR = 10000;
|
||||||
|
/**
|
||||||
|
* Filesystem path of vendor-table.json
|
||||||
|
*/
|
||||||
private static final Path JSON_PATH = FileSystems.getDefault().getPath("/etc",
|
private static final Path JSON_PATH = FileSystems.getDefault().getPath("/etc",
|
||||||
"hirs", "aca", "default-properties", "vendor-table.json");
|
"hirs", "aca", "default-properties", "vendor-table.json");
|
||||||
|
/**
|
||||||
|
* Name of vendor-table file in code
|
||||||
|
*/
|
||||||
private static final String JSON_FILENAME = "vendor-table2.json";
|
private static final String JSON_FILENAME = "vendor-table2.json";
|
||||||
|
/**
|
||||||
|
* Reference to the vendor-table json object
|
||||||
|
*/
|
||||||
private JsonObject uefiVendorRef;
|
private JsonObject uefiVendorRef;
|
||||||
/** Track status of vendor-table.json */
|
/**
|
||||||
|
* Track status of vendor-table.json
|
||||||
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
private String vendorTableFileStatus = FILESTATUS_NOT_ACCESSIBLE;
|
private String vendorTableFileStatus = FILESTATUS_NOT_ACCESSIBLE;
|
||||||
|
|
||||||
|
@ -71,7 +71,9 @@ public class UefiSignatureList {
|
|||||||
* Type of signature.
|
* Type of signature.
|
||||||
*/
|
*/
|
||||||
private UefiGuid signatureType = null;
|
private UefiGuid signatureType = null;
|
||||||
/** Track status of vendor-table.json */
|
/**
|
||||||
|
* Track status of vendor-table.json
|
||||||
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
private String vendorTableFileStatus = FILESTATUS_NOT_ACCESSIBLE;
|
private String vendorTableFileStatus = FILESTATUS_NOT_ACCESSIBLE;
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ public class UefiVariable {
|
|||||||
* The default here is that each list correctly grabbed the file from file system.
|
* The default here is that each list correctly grabbed the file from file system.
|
||||||
* If any one list has issues, this overall status will change to reflect the
|
* If any one list has issues, this overall status will change to reflect the
|
||||||
* problematic list's status.
|
* problematic list's status.
|
||||||
* */
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
private String vendorTableFileStatus = FILESTATUS_FROM_FILESYSTEM;
|
private String vendorTableFileStatus = FILESTATUS_FROM_FILESYSTEM;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user