Package de.das.encrypter.processors
Interface KeyTransfer
public interface KeyTransfer
This interface defines parameters and positions for blockwise UDP data
transfer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int12 byte for the header parameter and 4 byte for the CRC-32 at the end of each block.static final intThe size of each block used by the Splitter.static final byte[]Information for the data receiver that all data has been transferred.static final byte[]Feedback from the data receiver that the transmission was faulty.static final intThe position of the block count information in the header.static final intThe position of the information in the header where the data block starts.static final intThe position of the information in the header which size the data block has.static final intThe position of the data length information in the header.static final byte[]Feedback from the data receiver that the transmission was successful.
-
Field Details
-
EOT
static final byte[] EOTInformation for the data receiver that all data has been transferred. -
VALID
static final byte[] VALIDFeedback from the data receiver that the transmission was successful. -
FAIL
static final byte[] FAILFeedback from the data receiver that the transmission was faulty. -
BUFFER_SIZE
static final int BUFFER_SIZEThe size of each block used by the Splitter.- See Also:
-
POS_BLOCK_COUNT
static final int POS_BLOCK_COUNTThe position of the block count information in the header.- See Also:
-
POS_KEY_LENGTH
static final int POS_KEY_LENGTHThe position of the data length information in the header.- See Also:
-
POS_BLOCK_START
static final int POS_BLOCK_STARTThe position of the information in the header where the data block starts.- See Also:
-
POS_DATA_SIZE
static final int POS_DATA_SIZEThe position of the information in the header which size the data block has.- See Also:
-
ADD_DATA_SIZE
static final int ADD_DATA_SIZE12 byte for the header parameter and 4 byte for the CRC-32 at the end of each block.- See Also:
-