Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
direct_bt::SMPSignatureResolvingKey Struct Reference

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

#include <SMPTypes.hpp>

Collaboration diagram for direct_bt::SMPSignatureResolvingKey:

Public Types

enum class  Property : uint8_t { NONE = 0x00 RESPONDER = 0x01 , AUTH = 0x02 }
 

Public Member Functions

void clear () noexcept
 
bool isResponder () const noexcept
 
std::string toString () const noexcept
 

Static Public Member Functions

static std::string getPropertyString (const Property mask) noexcept
 
static constexpr uint8_t number (const Property rhs) noexcept
 

Public Attributes

jau::uint128dp_t csrk
 Connection Signature Resolving Key (CSRK) More...
 
Property properties
 SMPSignatureResolvingKey::Property bit mask. More...
 

Detailed Description

SMP Signature Resolving Key, 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 little-endian or as a byte stream.

Byte layout must be synchronized with java org.tinyb.SMPSignatureResolvingKey

Definition at line 712 of file SMPTypes.hpp.

Member Enumeration Documentation

◆ Property

enum class direct_bt::SMPSignatureResolvingKey::Property : uint8_t
strong
Enumerator
NONE 

No specific property.

AUTH 

Authentication used.

Definition at line 712 of file SMPTypes.hpp.

Member Function Documentation

◆ number()

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

Definition at line 712 of file SMPTypes.hpp.

◆ getPropertyString()

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

Definition at line 326 of file SMPTypes.cpp.

◆ isResponder()

bool SMPSignatureResolvingKey::isResponder ( ) const
noexcept

Definition at line 334 of file SMPTypes.cpp.

◆ clear()

void direct_bt::SMPSignatureResolvingKey::clear ( )
inlinenoexcept

Definition at line 712 of file SMPTypes.hpp.

◆ toString()

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

Definition at line 712 of file SMPTypes.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ properties

Property direct_bt::SMPSignatureResolvingKey::properties

SMPSignatureResolvingKey::Property bit mask.

Definition at line 712 of file SMPTypes.hpp.

◆ csrk

jau::uint128dp_t direct_bt::SMPSignatureResolvingKey::csrk

Connection Signature Resolving Key (CSRK)

Definition at line 712 of file SMPTypes.hpp.


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