This variable must be initalized in the constructor of the
derived class, or at least before the AuthenticationProgress handler
has a chance of being called.
This class implements the candidate key protocol (CKP) as presented in
Rene Mayrhofer: "Candidate Key Protocol"
It is an alternative to Diffie-Hellman key exchange with subsequent
key verification.
This exception is thrown whenever a configuration error has been detected, e.g .when
specified hardware or software components are not available or configuration values
are contradictory.
This is an abstract class that implements the basics of all protocols
based on Diffie-Hellman key exchange over TCP with subsequent verification
of the key material to check that it is equal on both sides.
There are no _BCAPI and _Mixed variants because DHOverTCPWithVerification only uses the crypto embedded into
SimpleKeyAgreement and InterlockProtocol, and those are tested with _BCAPI and _Mixed.
This variable must be initalized in the constructor of the
derived class, or at least before the AuthenticationProgress handler
has a chance of being called.
This causes the reader to be shut down properly by calling stop() and making
sure that all ressources are freed properly when this object is garbage collected.
This class represents a listener on a TCP port which responds to incoming authentication requests by delegating any incoming
connection to the HostProtocolHandler class.
The maximum size of the data transported in a single UDP packet over
Ethernet: Ethernet maximum packet size is 1518, with an Ethernet header of 14
and a checksum of 4 Bytes.
Helper function: calculates the mean of the vector elements, up to a maximum index
(or the whole vector if max_ind is set to -1 or larger than the vector length).
This class implements a reader for the data format generated by the small
Linux native code (a C command line program) to sample pulse-width modulated
sensors (e.g.
This interface represents a sink for sample values, and only defines
three methods: to add new samples, to react to a segment becoming
"active" (by some definition) and to react to a segment becoming "inactive".
This method performs a full authentication of the pre-established shared
secrets with another Relate dongle.The authentication is started as a
background thread.
This is a helper function that computes the average over the coherence
values, weighted by the number of slices that were used to compute the
coherence.
This method performs a secure wipe of the cryptographic key material held by this class by overwriting the memory
regions with zero before freeing them (i.e.