Package com.blackhillsoftware.smf.smf30
Class CryptoCountersSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf30.CryptoCountersSection
-
Method Summary
Modifier and TypeMethodDescriptionstatic CryptoCountersSection
create
(byte[] Data, int offset, int length) create is intended for internal use only.long
SMF30_CrypCtrs_Count value, throws exception if SMF30_CrypCtrs_Count overflows 64 bit signed integer.SMF30_CrypCtrs_Count value as a BigInteger.SMF30_CrypCtrs_Entry_ID value.int
SMF30_CrypCtrs_Entry_ID value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Method Details
-
smf30CrypCtrsEntryId
SMF30_CrypCtrs_Entry_ID value.- Returns:
- CryptoCounters SMF30_CrypCtrs_Entry_ID value
-
smf30CrypCtrsEntryIdRawValue
public int smf30CrypCtrsEntryIdRawValue()SMF30_CrypCtrs_Entry_ID value.- Returns:
- int SMF30_CrypCtrs_Entry_ID raw value
-
smf30CrypCtrsCount
public long smf30CrypCtrsCount()SMF30_CrypCtrs_Count value, throws exception if SMF30_CrypCtrs_Count overflows 64 bit signed integer.- Returns:
- long SMF30_CrypCtrs_Count
- Throws:
IllegalArgumentException
- If the value of SMF30_CrypCtrs_Count exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF30_CrypCtrs_Count). Usesmf30CrypCtrsCountAsBigInteger()
if this is possible.
-
smf30CrypCtrsCountAsBigInteger
SMF30_CrypCtrs_Count value as a BigInteger.smf30CrypCtrsCount()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF30_CrypCtrs_Count
-
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
-