Clear()
This method clears the `KeyMaterial`. Under `OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE`, if the `KeyMaterial` currently stores a valid previous `KeyRef`, the `Clear()` call will ensure to delete the previous `KeyRef` and set it to `kInvalidKeyRef`.
GetKey() const
Gets the literal `Key`.
SetFrom()
Sets the `KeyMaterial` from a given Key. If the `KeyMaterial` currently stores a valid `KeyRef`, the `SetFrom()` call will ensure to delete the previous one before creating and using a new `KeyRef` associated with the new `Key`.
Extracts the literal key from `KeyMaterial`.
ConvertToCryptoKey() const
Converts `KeyMaterial` to a `Crypto::Key`.
operator() const
Overloads operator `==` to evaluate whether or not two `KeyMaterial` instances are equal.
GetKey()
SetKey()