pub struct EncProtectedHeader {
pub algorithm: i64,
pub kid: Fingerprint,
}Available on crate feature
cose only.Expand description
Protected header for COSE_Encrypt0.
Fields§
§algorithm: i64Algorithm identifier (COSE header label 1)
kid: FingerprintKey identifier - recipient’s fingerprint (COSE header label 4)
Trait Implementations§
Source§impl Clone for EncProtectedHeader
impl Clone for EncProtectedHeader
Source§fn clone(&self) -> EncProtectedHeader
fn clone(&self) -> EncProtectedHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EncProtectedHeader
impl Debug for EncProtectedHeader
Source§impl Decode for EncProtectedHeader
impl Decode for EncProtectedHeader
Source§impl Encode for EncProtectedHeader
impl Encode for EncProtectedHeader
Source§impl PartialEq for EncProtectedHeader
impl PartialEq for EncProtectedHeader
impl Eq for EncProtectedHeader
impl StructuralPartialEq for EncProtectedHeader
Auto Trait Implementations§
impl Freeze for EncProtectedHeader
impl RefUnwindSafe for EncProtectedHeader
impl Send for EncProtectedHeader
impl Sync for EncProtectedHeader
impl Unpin for EncProtectedHeader
impl UnwindSafe for EncProtectedHeader
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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