Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
SMP Signature Resolving Key, used for platform agnostic persistence. More...
Classes | |
class | Properties |
SMPSignatureResolvingKey PropertyType Bit Mask More... | |
enum | PropertyType |
SMPSignatureResolvingKey Property Bits More... | |
Public Member Functions | |
SMPSignatureResolvingKey () | |
Construct emoty unset instance. More... | |
SMPSignatureResolvingKey (final byte source[], final int pos) | |
Construct instance via given source byte array. More... | |
void | get (final byte[] source, int pos) |
Method transfers all bytes representing a SMPSignatureResolvingKeyInfo from the given source array at the given position into this instance. More... | |
final boolean | isResponder () |
final void | put (final byte[] sink, int pos) |
Method transfers all bytes representing this instance into the given destination array at the given position. More... | |
String | toString () |
Public Attributes | |
byte | csrk [] |
Connection Signature Resolving Key (CSRK) More... | |
Properties | properties |
Properties bit mask. More... | |
Static Public Attributes | |
static final int | byte_size = 1+16 |
Size of the byte stream representation in bytes. More... | |
SMP Signature Resolving Key, used for platform agnostic persistence.
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 native direct_bt::SMPSignatureResolvingKeyInfo
Definition at line 41 of file SMPSignatureResolvingKey.java.
org.direct_bt.SMPSignatureResolvingKey.SMPSignatureResolvingKey | ( | final byte | source[], |
final int | pos | ||
) |
Construct instance via given source byte array.
Definition at line 131 of file SMPSignatureResolvingKey.java.
org.direct_bt.SMPSignatureResolvingKey.SMPSignatureResolvingKey | ( | ) |
Construct emoty unset instance.
Definition at line 137 of file SMPSignatureResolvingKey.java.
void org.direct_bt.SMPSignatureResolvingKey.get | ( | final byte[] | source, |
int | pos | ||
) |
Method transfers all bytes representing a SMPSignatureResolvingKeyInfo from the given source array at the given position into this instance.
Implementation is consistent with put(byte[], int)
.
source | the source array |
pos | starting position in the source array |
Definition at line 152 of file SMPSignatureResolvingKey.java.
final void org.direct_bt.SMPSignatureResolvingKey.put | ( | final byte[] | sink, |
int | pos | ||
) |
Method transfers all bytes representing this instance into the given destination array at the given position.
Implementation is consistent with SMPSignatureResolvingKeyInfo(byte[], int)
.
sink | the destination array |
pos | starting position in the destination array |
Definition at line 171 of file SMPSignatureResolvingKey.java.
final boolean org.direct_bt.SMPSignatureResolvingKey.isResponder | ( | ) |
Definition at line 179 of file SMPSignatureResolvingKey.java.
String org.direct_bt.SMPSignatureResolvingKey.toString | ( | ) |
Definition at line 182 of file SMPSignatureResolvingKey.java.
Properties org.direct_bt.SMPSignatureResolvingKey.properties |
Properties
bit mask.
1 octet or 8 bits.
Definition at line 119 of file SMPSignatureResolvingKey.java.
byte org.direct_bt.SMPSignatureResolvingKey.csrk[] |
Connection Signature Resolving Key (CSRK)
Definition at line 122 of file SMPSignatureResolvingKey.java.
|
static |
Size of the byte stream representation in bytes.
Definition at line 128 of file SMPSignatureResolvingKey.java.