Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
direct_bt::SMPSignatureResolvingKeyInfo Struct Reference

SMP Signature Resolving Key Info, used for platform agnostic persistence. More...

#include <SMPTypes.hpp>

Collaboration diagram for direct_bt::SMPSignatureResolvingKeyInfo:

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...
 

Detailed Description

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.

Member Enumeration Documentation

◆ Property

Enumerator
NONE 

No specific property.

AUTH 

Authentication used.

Definition at line 598 of file SMPTypes.hpp.

Member Function Documentation

◆ clear()

void direct_bt::SMPSignatureResolvingKeyInfo::clear ( )
inlinenoexcept

Definition at line 598 of file SMPTypes.hpp.

◆ getPropertyString()

std::string SMPSignatureResolvingKeyInfo::getPropertyString ( const Property  mask)
staticnoexcept

Definition at line 337 of file SMPTypes.cpp.

Here is the call graph for this function:

◆ isResponder()

bool SMPSignatureResolvingKeyInfo::isResponder ( ) const
noexcept

Definition at line 353 of file SMPTypes.cpp.

◆ number()

static constexpr uint8_t direct_bt::SMPSignatureResolvingKeyInfo::number ( const Property  rhs)
inlinestaticconstexprnoexcept

Definition at line 598 of file SMPTypes.hpp.

◆ toString()

std::string direct_bt::SMPSignatureResolvingKeyInfo::toString ( ) const
inlinenoexcept

Definition at line 598 of file SMPTypes.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ csrk

jau::uint128_t direct_bt::SMPSignatureResolvingKeyInfo::csrk

Connection Signature Resolving Key (CSRK)

Definition at line 598 of file SMPTypes.hpp.

◆ properties

Property direct_bt::SMPSignatureResolvingKeyInfo::properties

SMPSignatureResolvingKeyInfo::Property bit mask.

Definition at line 598 of file SMPTypes.hpp.


The documentation for this struct was generated from the following files: