ESP-IDF
ot::NetworkKey
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (4/5)...
Summary
Syntax
Methods
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::NetworkKey
ot::NetworkKey class
Syntax
Show:
Summary
Declaration
from
key_manager.hpp:138
class
NetworkKey
:
public
otNetworkKey
,
public
Equatable
<
NetworkKey
>
,
public
Clearable
<
NetworkKey
>
{
public
:
static
constexpr
uint8_t
kSize
=
OT_NETWORK_KEY_SIZE
;
#if
!
OPENTHREAD_RADIO
Error
GenerateRandom
(
void
)
{
return
Random
::
Crypto
::
Fill
(
*
this
)
;
}
#endif
}
;
Fields
Field
ot::NetworkKey::kSize
Methods
GenerateRandom()
Generates a cryptographically secure random sequence to populate the Thread Network Key.
Related Functions
Found 2 other functions taking a
NetworkKey
argument:
Function
Description
ot::KeyManager::GetNetworkKey() const
Gets the Thread Network Key.
ot::KeyManager::SetNetworkKey()
Sets the Thread Network Key.
Examples
References
from
examples
Code
Location
Scope
Referrer
class
NetworkKey
:
public
otNetworkKey
,
public
Equatable
<
NetworkKey
>
,
public
Clearable
<
NetworkKey
>
key_manager.hpp:138
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kActiveTimestamp
>
{
using
Type
=
Timestamp
;
}
;
dataset.hpp:700
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kPendingTimestamp
>
{
using
Type
=
Timestamp
;
}
;
dataset.hpp:701
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kNetworkKey
>
{
using
Type
=
NetworkKey
;
}
;
dataset.hpp:702
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kNetworkName
>
{
using
Type
=
NetworkName
;
}
;
dataset.hpp:703
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kExtendedPanId
>
{
using
Type
=
ExtendedPanId
;
}
;
dataset.hpp:704
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kMeshLocalPrefix
>
{
using
Type
=
Ip6
::
NetworkPrefix
;
}
;
dataset.hpp:705
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kDelay
>
{
using
Type
=
uint32_t
;
}
;
dataset.hpp:706
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kPanId
>
{
using
Type
=
Mac
::
PanId
;
}
;
dataset.hpp:707
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kChannel
>
{
using
Type
=
uint16_t
;
}
;
dataset.hpp:708
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kWakeupChannel
>
{
using
Type
=
uint16_t
;
}
;
dataset.hpp:709
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kPskc
>
{
using
Type
=
Pskc
;
}
;
dataset.hpp:710
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kSecurityPolicy
>
{
using
Type
=
SecurityPolicy
;
}
;
dataset.hpp:711
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kChannelMask
>
{
using
Type
=
uint32_t
;
}
;
dataset.hpp:712
DefineCoreType
(
otNetworkKey
,
NetworkKey
)
;
key_manager.hpp:647
template
<
>
struct
Dataset
::
TypeFor
<
Dataset
::
kNetworkKey
>
{
using
Type
=
NetworkKey
;
}
;
dataset.hpp:702
ot::MeshCoP::Dataset::TypeFor::Type
template
<
>
inline
const
NetworkKey
&
Dataset
::
Info
::
Get
<
Dataset
::
kNetworkKey
>
(
void
)
const
dataset.hpp:719
ot::MeshCoP::Dataset::Info
ot::MeshCoP::Dataset::Info::Get() const
NetworkKey
newKey
;
dataset_manager.cpp:976
ot::MeshCoP::PendingDatasetManager::HandleDelayTimer()
NetworkKey
currentKey
;
dataset_manager.cpp:977
ot::MeshCoP::PendingDatasetManager::HandleDelayTimer()
NetworkKey
networkKey
;
dataset_manager_ftd.cpp:59
ot::MeshCoP::DatasetManager::ProcessSetOrReplaceRequest() const
NetworkKey
localNetworkKey
;
dataset_manager_ftd.cpp:108
ot::MeshCoP::DatasetManager::ProcessSetOrReplaceRequest() const
NetworkKey
networkKey
;
dataset_manager_ftd.cpp:314
ot::MeshCoP::ActiveDatasetManager::GenerateLocal()
void
KeyManager
::
SetNetworkKey
(
const
NetworkKey
&
aNetworkKey
)
key_manager.cpp:260
ot::KeyManager::SetNetworkKey()
ot::KeyManager::SetNetworkKey()::aNetworkKey
void
KeyManager
::
GetNetworkKey
(
NetworkKey
&
aNetworkKey
)
const
key_manager.cpp:545
ot::KeyManager::GetNetworkKey() const
ot::KeyManager::GetNetworkKey() const::aNetworkKey
void
GetNetworkKey
(
NetworkKey
&
aNetworkKey
)
const
;
key_manager.hpp:246
ot::KeyManager::GetNetworkKey() const
ot::KeyManager::GetNetworkKey() const::aNetworkKey
void
SetNetworkKey
(
const
NetworkKey
&
aNetworkKey
)
;
key_manager.hpp:253
ot::KeyManager::SetNetworkKey()
ot::KeyManager::SetNetworkKey()::aNetworkKey
NetworkKey
mNetworkKey
;
key_manager.hpp:603
ot::KeyManager
ot::KeyManager::mNetworkKey
DefineCoreType
(
otNetworkKey
,
NetworkKey
)
;
key_manager.hpp:647
ot::CoreType::Type
typedef
SimpleTlvInfo
<
Tlv
::
kNetworkKey
,
NetworkKey
>
NetworkKeyTlv
;
meshcop_tlvs.hpp:302
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
ot::NetworkKey
is inherited by 1 classes:
All items filtered out
ot::NetworkKey
otNetworkKey
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Instance
Scope
Location
Project
ot::KeyManager::GetNetworkKey() const::aNetworkKey
ot::KeyManager::GetNetworkKey() const
key_manager.hpp:246
ot::KeyManager::SetNetworkKey()::aNetworkKey
ot::KeyManager::SetNetworkKey()
key_manager.hpp:253
ot::KeyManager::mNetworkKey
ot::KeyManager
key_manager.hpp:603
ot::CoreType::Type
key_manager.hpp:647
ot::MeshCoP::Dataset::TypeFor::Type
dataset.hpp:702
return
ot::MeshCoP::Dataset::Info::Get() const
dataset.hpp:719
ot::KeyManager::SetNetworkKey()::aNetworkKey
ot::KeyManager::SetNetworkKey()
key_manager.cpp:260
ot::KeyManager::GetNetworkKey() const::aNetworkKey
ot::KeyManager::GetNetworkKey() const
key_manager.cpp:545
Lifecycle
from
examples
All items filtered out
All items filtered out