Trait capsules::ieee802154::framer::KeyProcedure
[−]
[src]
pub trait KeyProcedure { fn lookup_key(
&self,
level: SecurityLevel,
key_id: KeyId
) -> Option<[u8; 16]>; }
IEEE 802.15.4-2015, 9.2.2, KeyDescriptor lookup procedure. Trait to be implemented by an upper layer that manages the list of 802.15.4 key descriptors. This trait interface enables the lookup procedure to be implemented either explicitly (managing a list of KeyDescriptors) or implicitly with some equivalent logic.
Required Methods
fn lookup_key(&self, level: SecurityLevel, key_id: KeyId) -> Option<[u8; 16]>
Lookup the KeyDescriptor matching the provided security level and key ID mode and return the key associatied with it.
Implementors
impl<'a> KeyProcedure for RadioDriver<'a>