added one function to TCGEventLog that was from master

This commit is contained in:
iadgovuser58 2023-07-13 17:47:07 -04:00
parent 3826ef7834
commit 2b21ecfeb7

View File

@ -315,6 +315,15 @@ public final class TCGEventLog {
return this.toString();
}
/**
* Returns the TCG Algorithm Registry defined string for the Digest Algorithm
* used in the event log.
* @return TCG Defined Algorithm name
*/
public String getEventLogHashAlgorithm() {
return algorithm;
}
/**
* Returns the TCG Algorithm Registry defined ID for the Digest Algorithm
* used in the event log.