Start()
Starts KeyManager rotation timer and sets guard timer to initial value.
Stop()
Stops KeyManager timers.
GetNetworkKey() const
Gets the Thread Network Key.
SetNetworkKey()
Sets the Thread Network Key.
IsPskcSet() const
Indicates whether the PSKc is configured. A value of all zeros indicates that the PSKc is not configured.
GetPskc() const
Gets the PKSc.
SetPskc()
Sets the PSKc.
GetCurrentKeySequence() const
Returns the current key sequence value.
SetCurrentKeySequence()
Sets the current key sequence value.
GetCurrentTrelMacKey() const
Returns the current MAC key for TREL radio link.
GetTemporaryTrelMacKey()
Returns a temporary MAC key for TREL radio link computed from the given key sequence.
GetCurrentMleKey() const
Returns the current MLE key Material.
GetTemporaryMleKey()
Returns a temporary MLE key Material computed from the given key sequence.
GetTemporaryMacKey()
Returns a temporary MAC key Material computed from the given key sequence.
GetTrelMacFrameCounter() const
Returns the current MAC Frame Counter value for TREL radio link.
IncrementTrelMacFrameCounter()
Increments the current MAC Frame Counter value for TREL radio link.
GetMaximumMacFrameCounter() const
Gets the maximum MAC Frame Counter among all supported radio links.
SetAllMacFrameCounters()
Sets the current MAC Frame Counter value for all radio links.
SetStoredMacFrameCounter()
Sets the MAC Frame Counter value which is stored in non-volatile memory.
GetMleFrameCounter() const
Returns the current MLE Frame Counter value.
SetMleFrameCounter()
Sets the current MLE Frame Counter value.
SetStoredMleFrameCounter()
Sets the MLE Frame Counter value which is stored in non-volatile memory.
IncrementMleFrameCounter()
Increments the current MLE Frame Counter value.
GetKek() const
Returns the KEK as `KekKeyMaterial`.
Retrieves the KEK as literal `Kek` key.
SetKek()
Sets the KEK.
SetKek()
Sets the KEK.
GetKekFrameCounter() const
Returns the current KEK Frame Counter value.
IncrementKekFrameCounter()
Increments the current KEK Frame Counter value.
GetKeySwitchGuardTime() const
Returns the KeySwitchGuardTime. The KeySwitchGuardTime is the time interval during which key rotation procedure is prevented.
SetKeySwitchGuardTime()
Sets the KeySwitchGuardTime. The KeySwitchGuardTime is the time interval during which key rotation procedure is prevented. Intended for testing only. Changing the guard time will render device non-compliant with the Thread spec.
GetSecurityPolicy() const
Returns the Security Policy. The Security Policy specifies Key Rotation Time and network administrator preferences for which security-related operations are allowed or disallowed.
SetSecurityPolicy()
Sets the Security Policy. The Security Policy specifies Key Rotation Time and network administrator preferences for which security-related operations are allowed or disallowed.
UpdateKeyMaterial()
Updates the MAC keys and MLE key.
MacFrameCounterUsed()
Handles MAC frame counter changes (callback from `SubMac` for 15.4 security frame change). This is called to indicate the @p aMacFrameCounter value is now used.
ComputeKeys() const
ComputeTrelKey() const
ResetKeyRotationTimer()
HandleKeyRotationTimer()
CheckForKeyRotation()
ResetFrameCounters()