cleaned up NoAction event

This commit is contained in:
iadgovuser58 2024-07-18 11:15:54 -04:00
parent 181ca4993e
commit f1a22c7cc4

View File

@ -4,7 +4,6 @@ import hirs.utils.HexUtils;
import hirs.utils.tpm.eventlog.uefi.UefiConstants;
import lombok.Getter;
import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
/**
@ -42,16 +41,6 @@ public class EvNoAction {
*/
@Getter
private String specErrataVersion = "Unknown";
// /**
// * EvEfiSpecIdEvent Object.
// */
// @Getter
// private EvEfiSpecIdEvent specIDEvent = null;
// /**
// * NvIndexInstanceEvent Object.
// */
// @Getter
// private NvIndexInstanceEventLogData nvIndexInstanceEvent = null;
/**
* Human-readable description of the data within this DEVICE_SECURITY_EVENT_DATA/..DATA2 event.
@ -65,7 +54,6 @@ public class EvNoAction {
* @param eventData byte array holding the event to process.
* @throws java.io.UnsupportedEncodingException if input fails to parse.
*/
// public EvNoAction(final byte[] eventData) throws UnsupportedEncodingException {
public EvNoAction(final byte[] eventData) {
byte[] signatureBytes = new byte[UefiConstants.SIZE_15];
System.arraycopy(eventData, 0, signatureBytes, 0, UefiConstants.SIZE_15);