diff --git a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/TCGEventLog.java b/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/TCGEventLog.java index ff5bdd2f..aa65b313 100644 --- a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/TCGEventLog.java +++ b/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/TCGEventLog.java @@ -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.