Package com.dsi.ant.message.fromhost
Class LoadOrStoreEncryptionKeyMessage
java.lang.Object
com.dsi.ant.message.AntMessage
com.dsi.ant.message.fromhost.AntMessageFromHost
com.dsi.ant.message.fromhost.LoadOrStoreEncryptionKeyMessage
Loads or stores the encryption key from/to memory.
- Since:
- 4.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The possible operations that can be done. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The maximum index that a key can be loaded or stored from/toprotected int
static final int
The message content offset to the index the key is stored/loadedstatic final int
The message content offset to the desired operation valueFields inherited from class com.dsi.ant.message.AntMessage
BITMASK_CHANNEL_NUMBER, FILLER_BYTE, OFFSET_CHANNEL_NUMBER, RAW_OFFSET_MESSAGE_CONTENT_START, RAW_OFFSET_MESSAGE_ID, RAW_OFFSET_MESSAGE_SIZE, SIZE_CHANNEL_NUMBER, SIZE_FILLER_BYTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the index that this key is being stored or loaded to/from.Methods inherited from class com.dsi.ant.message.fromhost.AntMessageFromHost
createAntMessage, createAntMessage, getMessageContent, getMessageContent, getMessageContent, getMessageId, getMessageType, getRawMessage, toString, toStringHeader
Methods inherited from class com.dsi.ant.message.AntMessage
equals, getMessageContentString, getMessageIdString, hashCode, maskChannelNumber
-
Field Details
-
OFFSET_OPERATION
public static final int OFFSET_OPERATIONThe message content offset to the desired operation value- Since:
- 4.0
- See Also:
-
OFFSET_NVM_KEY_INDEX
public static final int OFFSET_NVM_KEY_INDEXThe 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_INDEXThe 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
-