Package com.blackhillsoftware.smf.smf90
Class ValidatedBootAuditEntry
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf90.ValidatedBootAuditEntry
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0x80 = 128static final int
Constant: 0x20 = 32 -
Method Summary
Modifier and TypeMethodDescriptionstatic ValidatedBootAuditEntry
create
(byte[] Data, int offset, int length) create is intended for internal use only.SMF90T42_A_CertFP data.SMF90T42_A_Dsname value.long
SMF90T42_A_DSN_NumFailures value.SMF90T42_A_Fail_Reason as a ValidationFailureReason.int
SMF90T42_A_Fail_Reason raw value.SMF90T42_A_FailTime STCKE high 8 bytes value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF90T42_A_FailTime raw value.int
SMF90T42_A_Flags value.boolean
Return true ifSMF90T42_A_FoundSig
bit insmf90t42AFlags()
is set.boolean
Return true ifSMF90T42_A_haveMachLoaderErrors
bit insmf90t42AFlags()
is set.SMF90T42_A_KeyID data.long
SMF90T42_A_MLE_ED value.int
SMF90T42_A_MLE_IIEI value.SMF90T42_A_Modname value.long
SMF90T42_A_NumFailures value.SMF90T42_A_SignTime STCKE high 8 bytes value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF90T42_A_SignTime raw value.SMF90T42_A_VolID value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF90T42_A_FoundSig
public static final int SMF90T42_A_FoundSigConstant: 0x80 = 128- See Also:
-
SMF90T42_A_haveMachLoaderErrors
public static final int SMF90T42_A_haveMachLoaderErrorsConstant: 0x20 = 32- See Also:
-
-
Method Details
-
smf90t42AModname
SMF90T42_A_Modname value.- Returns:
- String SMF90T42_A_Modname value
-
smf90t42ADsname
SMF90T42_A_Dsname value.- Returns:
- String SMF90T42_A_Dsname value
-
smf90t42AVolID
SMF90T42_A_VolID value.- Returns:
- String SMF90T42_A_VolID value
-
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 ifSMF90T42_A_FoundSig
bit insmf90t42AFlags()
is set.- Returns:
- boolean SMF90T42_A_FoundSig bit is set in smf90t42AFlags()
SMF90T42_A_FoundSig = 0x80
-
smf90t42AHaveMachLoaderErrors
public boolean smf90t42AHaveMachLoaderErrors()Return true ifSMF90T42_A_haveMachLoaderErrors
bit insmf90t42AFlags()
is set.- 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
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
SMF90T42_A_SignTime raw value.- Returns:
- BigInteger SMF90T42_A_SignTime raw value
-
smf90t42ACertFP
SMF90T42_A_CertFP data.- Returns:
- Token SMF90T42_A_CertFP data
-
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
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
SMF90T42_A_FailTime raw value.- Returns:
- BigInteger SMF90T42_A_FailTime raw value
-
create
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 sectionoffset
- Offset of this section in the datalength
- length of the section
-