Class LoadOrStoreEncryptionKeyMessage

java.lang.Object
com.dsi.ant.message.AntMessage
com.dsi.ant.message.fromhost.AntMessageFromHost
com.dsi.ant.message.fromhost.LoadOrStoreEncryptionKeyMessage

public abstract class LoadOrStoreEncryptionKeyMessage extends AntMessageFromHost
Loads or stores the encryption key from/to memory.
Since:
4.0
  • Field Details

    • OFFSET_OPERATION

      public static final int OFFSET_OPERATION
      The message content offset to the desired operation value
      Since:
      4.0
      See Also:
    • OFFSET_NVM_KEY_INDEX

      public static final int OFFSET_NVM_KEY_INDEX
      The message content offset to the index the key is stored/loaded
      Since:
      4.0
      See Also:
    • MAX_KEY_INDEX

      public static final int MAX_KEY_INDEX
      The maximum index that a key can be loaded or stored from/to
      Since:
      4.0
      See Also:
    • mNvmKeyIndex

      protected int mNvmKeyIndex
  • Constructor Details

    • LoadOrStoreEncryptionKeyMessage

      public LoadOrStoreEncryptionKeyMessage()
  • Method Details

    • getNvmKeyIndex

      public int getNvmKeyIndex()
      Gets the index that this key is being stored or loaded to/from.
      Returns:
      The index of the key.
      Since:
      4.0