pub struct TbeData<'a> {
pub noc: &'a [u8],
pub icac: Option<&'a [u8]>,
pub signature: Signature,
pub resumption_id: Option<[u8; 16]>,
}Available on crate feature
rustcrypto only.Expand description
A decoded sigma-2-tbedata or sigma-3-tbedata.
Fields§
§noc: &'a [u8][1] — the peer’s NOC, in Matter TLV.
icac: Option<&'a [u8]>[2] — the peer’s ICAC, if its chain has one.
signature: Signature[3] — the signature over the corresponding tbsdata.
resumption_id: Option<[u8; 16]>[4] — the resumption ID, present in a sigma-2-tbedata and absent from a
sigma-3-tbedata.
Implementations§
Source§impl<'a> TbeData<'a>
impl<'a> TbeData<'a>
Trait Implementations§
impl<'a> Eq for TbeData<'a>
impl<'a> StructuralPartialEq for TbeData<'a>
Auto Trait Implementations§
impl<'a> Forget for TbeData<'a>
impl<'a> Freeze for TbeData<'a>
impl<'a> Move for TbeData<'a>
impl<'a> RefUnwindSafe for TbeData<'a>
impl<'a> Send for TbeData<'a>
impl<'a> Sync for TbeData<'a>
impl<'a> Unpin for TbeData<'a>
impl<'a> UnsafeUnpin for TbeData<'a>
impl<'a> UnwindSafe for TbeData<'a>
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