Class ValidatedBootAuditEntry

java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf90.ValidatedBootAuditEntry

public final class ValidatedBootAuditEntry extends SmfData
  • Field Details

    • SMF90T42_A_FoundSig

      public static final int SMF90T42_A_FoundSig
      Constant: 0x80 = 128
      See Also:
    • SMF90T42_A_haveMachLoaderErrors

      public static final int SMF90T42_A_haveMachLoaderErrors
      Constant: 0x20 = 32
      See Also:
  • Method Details

    • smf90t42AModname

      public String smf90t42AModname()
      SMF90T42_A_Modname value.
      Returns:
      String SMF90T42_A_Modname value
    • smf90t42ADsname

      public String smf90t42ADsname()
      SMF90T42_A_Dsname value.
      Returns:
      String SMF90T42_A_Dsname value
    • smf90t42AVolID

      public String smf90t42AVolID()
      SMF90T42_A_VolID value.
      Returns:
      String SMF90T42_A_VolID value
    • smf90t42AFailReason

      public ValidationFailureReason smf90t42AFailReason()
      SMF90T42_A_Fail_Reason as a ValidationFailureReason.
      Returns:
      ValidationFailureReason SMF90T42_A_Fail_Reason
    • smf90t42AFailReasonRawValue

      public int smf90t42AFailReasonRawValue()
      SMF90T42_A_Fail_Reason raw value.
      Returns:
      int SMF90T42_A_Fail_Reason value
    • smf90t42AFlags

      public int smf90t42AFlags()
      SMF90T42_A_Flags value.
      Returns:
      int SMF90T42_A_Flags value
    • smf90t42AFoundSig

      public boolean smf90t42AFoundSig()
      Return true if SMF90T42_A_FoundSig bit in smf90t42AFlags() is set.
      Returns:
      boolean SMF90T42_A_FoundSig bit is set in smf90t42AFlags()

      SMF90T42_A_FoundSig = 0x80

    • smf90t42AHaveMachLoaderErrors

      public boolean smf90t42AHaveMachLoaderErrors()
      Returns:
      boolean SMF90T42_A_haveMachLoaderErrors bit is set in smf90t42AFlags()

      SMF90T42_A_haveMachLoaderErrors = 0x20

    • smf90t42ANumFailures

      public long smf90t42ANumFailures()
      SMF90T42_A_NumFailures value.
      Returns:
      long SMF90T42_A_NumFailures value
    • smf90t42ADsnNumFailures

      public long smf90t42ADsnNumFailures()
      SMF90T42_A_DSN_NumFailures value.
      Returns:
      long SMF90T42_A_DSN_NumFailures value
    • smf90t42ASignTime

      public ZonedDateTime smf90t42ASignTime()
      SMF90T42_A_SignTime STCKE high 8 bytes value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).

      Use smf90t42ASignTimeRawValue() for a BigInteger containing the 8 byte STCKE value.

      Returns:
      DateTime SMF90T42_A_SignTime STCKE converted to ZonedDateTime
      See Also:
    • smf90t42ASignTimeRawValue

      public BigInteger smf90t42ASignTimeRawValue()
      SMF90T42_A_SignTime raw value.
      Returns:
      BigInteger SMF90T42_A_SignTime raw value
    • smf90t42ACertFP

      public Token smf90t42ACertFP()
      SMF90T42_A_CertFP data.
      Returns:
      Token SMF90T42_A_CertFP data
    • smf90t42AKeyID

      public Token smf90t42AKeyID()
      SMF90T42_A_KeyID data. Supported if (smf90t42AFoundSig() == true);
      Returns:
      Token SMF90T42_A_KeyID data
    • smf90t42AMleEd

      public long smf90t42AMleEd()
      SMF90T42_A_MLE_ED value. Supported if (smf90t42AHaveMachLoaderErrors() == true);
      Returns:
      long SMF90T42_A_MLE_ED value
    • smf90t42AMleIiei

      public int smf90t42AMleIiei()
      SMF90T42_A_MLE_IIEI value. Supported if (smf90t42AHaveMachLoaderErrors() == true);
      Returns:
      int SMF90T42_A_MLE_IIEI value
    • smf90t42AFailTime

      public ZonedDateTime smf90t42AFailTime()
      SMF90T42_A_FailTime STCKE high 8 bytes value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).

      Use smf90t42AFailTimeRawValue() for a BigInteger containing the 8 byte STCKE value.

      Returns:
      DateTime SMF90T42_A_FailTime STCKE converted to ZonedDateTime
      See Also:
    • smf90t42AFailTimeRawValue

      public BigInteger smf90t42AFailTimeRawValue()
      SMF90T42_A_FailTime raw value.
      Returns:
      BigInteger SMF90T42_A_FailTime raw value
    • create

      public static ValidatedBootAuditEntry create(byte[] Data, int offset, int length)
      create is intended for internal use only. Instances of this section are created by the parent record or section.
      Parameters:
      Data - Array of bytes containing data for this section
      offset - Offset of this section in the data
      length - length of the section