Class CryptoCountersSection

java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf30.CryptoCountersSection

public final class CryptoCountersSection extends SmfData
  • Method Details

    • smf30CrypCtrsEntryId

      public CryptoCounters 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). Use smf30CrypCtrsCountAsBigInteger() if this is possible.
    • smf30CrypCtrsCountAsBigInteger

      public BigInteger 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

      public static CryptoCountersSection 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