Package de.wuespace.telestion.extension.mavlink.security
package de.wuespace.telestion.extension.mavlink.security
-
ClassDescriptionThe
MavV2Signator
creates a "unique" 7 byte signature for MavlinkV2-Messages in according to the specifications.
A signature contains: 1 byte for the linkId 6 bytes for the timestamp 6 bytes for the actual signature (SHA256 hashed)
This class is designed to be used in a static-context!ASecretKeySafe
for the MAVLink-Signature-Keys.This class is handling the creation of the X.25 (CRC-16-CCITT) custom checksum for MAVLink.
Apart from only hashing the message itself a CRC_EXTRA byte must be added which is unique for each message.