Struct lorawan_device::SessionKeys
source · pub struct SessionKeys { /* private fields */ }
Implementations§
source§impl SessionKeys
impl SessionKeys
pub fn derive_new<T: AsRef<[u8]>, F: CryptoFactory>( decrypt: &DecryptedJoinAcceptPayload<T, F>, devnonce: DevNonce<[u8; 2]>, credentials: &Credentials ) -> Self
pub fn new( newskey: NewSKey, appskey: AppSKey, devaddr: DevAddr<[u8; 4]> ) -> Self
pub fn devaddr(&self) -> &DevAddr<[u8; 4]>
pub fn appskey(&self) -> &AppSKey
pub fn newskey(&self) -> &NewSKey
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SessionKeys
impl Send for SessionKeys
impl Sync for SessionKeys
impl Unpin for SessionKeys
impl UnwindSafe for SessionKeys
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more