This structure represent Security Policy.

Public Attributes#

uint16_t

The value for thrKeyRotation in units of hours.

bool

Obtaining the Network Key for out-of-band commissioning is enabled.

bool

Native Commissioning using PSKc is allowed.

bool

Thread 1.0/1.1.x Routers are enabled.

bool

External Commissioner authentication is allowed.

bool

Commercial Commissioning is enabled.

bool

Autonomous Enrollment is enabled.

bool

Network Key Provisioning is enabled.

bool

ToBLE link is enabled.

bool

Non-CCM Routers enabled.

uint8_t

Version-threshold for Routing.

Public Attribute Documentation#

mRotationTime#

uint16_t otSecurityPolicy::mRotationTime

The value for thrKeyRotation in units of hours.


Definition at line 151 of file include/openthread/dataset.h

mObtainNetworkKeyEnabled#

bool otSecurityPolicy::mObtainNetworkKeyEnabled

Obtaining the Network Key for out-of-band commissioning is enabled.


Definition at line 153 of file include/openthread/dataset.h

mNativeCommissioningEnabled#

bool otSecurityPolicy::mNativeCommissioningEnabled

Native Commissioning using PSKc is allowed.


Definition at line 154 of file include/openthread/dataset.h

mRoutersEnabled#

bool otSecurityPolicy::mRoutersEnabled

Thread 1.0/1.1.x Routers are enabled.


Definition at line 155 of file include/openthread/dataset.h

mExternalCommissioningEnabled#

bool otSecurityPolicy::mExternalCommissioningEnabled

External Commissioner authentication is allowed.


Definition at line 156 of file include/openthread/dataset.h

mCommercialCommissioningEnabled#

bool otSecurityPolicy::mCommercialCommissioningEnabled

Commercial Commissioning is enabled.


Definition at line 157 of file include/openthread/dataset.h

mAutonomousEnrollmentEnabled#

bool otSecurityPolicy::mAutonomousEnrollmentEnabled

Autonomous Enrollment is enabled.


Definition at line 158 of file include/openthread/dataset.h

mNetworkKeyProvisioningEnabled#

bool otSecurityPolicy::mNetworkKeyProvisioningEnabled

Network Key Provisioning is enabled.


Definition at line 159 of file include/openthread/dataset.h

mTobleLinkEnabled#

bool otSecurityPolicy::mTobleLinkEnabled

ToBLE link is enabled.


Definition at line 160 of file include/openthread/dataset.h

mNonCcmRoutersEnabled#

bool otSecurityPolicy::mNonCcmRoutersEnabled

Non-CCM Routers enabled.


Definition at line 161 of file include/openthread/dataset.h

mVersionThresholdForRouting#

uint8_t otSecurityPolicy::mVersionThresholdForRouting

Version-threshold for Routing.


Definition at line 162 of file include/openthread/dataset.h