Interface DirectoryHeader


public interface DirectoryHeader
Calypso DF metadata.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Gets a reference to access conditions.
    byte
    Gets the DF status.
    byte[]
    Gets a reference to keys indexes.
    byte
    getKif(WriteAccessLevel writeAccessLevel)
    Gets the KIF associated to the provided write access level.
    byte
    getKvc(WriteAccessLevel writeAccessLevel)
    Gets the KVC associated to the provided write access level.
    short
    Gets the associated LID.
  • Method Details

    • getLid

      short getLid()
      Gets the associated LID.
      Returns:
      The LID.
      Since:
      1.0.0
    • getDfStatus

      byte getDfStatus()
      Gets the DF status.
      Returns:
      The DF status byte.
      Since:
      1.0.0
    • getAccessConditions

      byte[] getAccessConditions()
      Gets a reference to access conditions.
      Returns:
      A not empty byte array.
      Since:
      1.0.0
    • getKeyIndexes

      byte[] getKeyIndexes()
      Gets a reference to keys indexes.
      Returns:
      A not empty byte array.
      Since:
      1.0.0
    • getKif

      byte getKif(WriteAccessLevel writeAccessLevel)
      Gets the KIF associated to the provided write access level.
      Parameters:
      writeAccessLevel - The write access level (should be not null).
      Returns:
      The KIF value.
      Throws:
      IllegalArgumentException - if writeAccessLevel is null.
      Since:
      1.0.0
    • getKvc

      byte getKvc(WriteAccessLevel writeAccessLevel)
      Gets the KVC associated to the provided write access level.
      Parameters:
      writeAccessLevel - The write access level (should be not null).
      Returns:
      The KVC value.
      Throws:
      IllegalArgumentException - if writeAccessLevel is null.
      Since:
      1.0.0