class LiteralKey
Defined at line 354 of file ../../third_party/openthread/src/core/crypto/storage.hpp
Represents a literal key derived from a `Key`.
Public Members
static const uint16_t kMaxSize
Public Methods
const uint8_t * GetBytes ()
Gets the pointer to the byte array containing the literal key.
Defined at line 374 of file ../../third_party/openthread/src/core/crypto/storage.hpp
uint16_t GetLength ()
Gets the key length.
Defined at line 381 of file ../../third_party/openthread/src/core/crypto/storage.hpp
void LiteralKey (const Key & aKey)
Initializes the `LiteralKey` from a given `Key`.
If the
is itself represents a literal key the same key buffer pointers are used. If the
is
a `KeyRef` then the literal key is extracted. In this case, the extracted key MUST be smaller than `kMaxSize`.
Parameters
aKey [in] The key to convert from.