mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-18 20:47:58 +00:00
cleaned up NoAction event
This commit is contained in:
parent
181ca4993e
commit
f1a22c7cc4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user