Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
SMP Signature Resolving Key Info, used for platform agnostic persistence. More...
#include <SMPTypes.hpp>
Public Types | |
enum | Property : uint8_t { Property::NONE = 0x00 RESPONDER = 0x01, Property::AUTH = 0x02 } |
Public Member Functions | |
bool | isResponder () const noexcept |
void | clear () noexcept |
std::string | toString () const noexcept |
Static Public Member Functions | |
static constexpr uint8_t | number (const Property rhs) noexcept |
static std::string | getPropertyString (const Property mask) noexcept |
Public Attributes | |
Property | properties |
SMPSignatureResolvingKeyInfo::Property bit mask. More... | |
jau::uint128_t | csrk |
Connection Signature Resolving Key (CSRK) More... | |
SMP Signature Resolving Key Info, used for platform agnostic persistence.
One way for ATT Signed Write.
Notable: No endian wise conversion shall occur on this data, since the encryption values are interpreted as a byte stream.
Byte layout must be synchronized with java org.tinyb.SMPSignatureResolvingKeyInfo
Definition at line 598 of file SMPTypes.hpp.
|
strong |
Enumerator | |
---|---|
NONE | No specific property. |
AUTH | Authentication used. |
Definition at line 598 of file SMPTypes.hpp.
|
inlinenoexcept |
Definition at line 598 of file SMPTypes.hpp.
|
staticnoexcept |
|
noexcept |
Definition at line 353 of file SMPTypes.cpp.
|
inlinestaticconstexprnoexcept |
Definition at line 598 of file SMPTypes.hpp.
|
inlinenoexcept |
jau::uint128_t direct_bt::SMPSignatureResolvingKeyInfo::csrk |
Connection Signature Resolving Key (CSRK)
Definition at line 598 of file SMPTypes.hpp.
Property direct_bt::SMPSignatureResolvingKeyInfo::properties |
SMPSignatureResolvingKeyInfo::Property bit mask.
Definition at line 598 of file SMPTypes.hpp.