pub struct KeyWrappingData(pub WrappingMethod, pub Option<EncryptionKeyInformation>, pub Option<MACOrSignatureKeyInformation>, pub Option<MACOrSignature>, pub Option<IVOrCounterOrNonce>, pub Option<Vec<Attribute>>);
Expand description
See KMIP 1.0 section 2.1.5 Key Wrapping Data.
Tuple Fields§
§0: WrappingMethod
§1: Option<EncryptionKeyInformation>
§2: Option<MACOrSignatureKeyInformation>
§3: Option<MACOrSignature>
§4: Option<IVOrCounterOrNonce>
§5: Option<Vec<Attribute>>
Trait Implementations§
Source§impl Clone for KeyWrappingData
impl Clone for KeyWrappingData
Source§fn clone(&self) -> KeyWrappingData
fn clone(&self) -> KeyWrappingData
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 KeyWrappingData
impl Debug for KeyWrappingData
Source§impl PartialEq for KeyWrappingData
impl PartialEq for KeyWrappingData
Source§impl Serialize for KeyWrappingData
impl Serialize for KeyWrappingData
impl Eq for KeyWrappingData
impl StructuralPartialEq for KeyWrappingData
Auto Trait Implementations§
impl Freeze for KeyWrappingData
impl RefUnwindSafe for KeyWrappingData
impl Send for KeyWrappingData
impl Sync for KeyWrappingData
impl Unpin for KeyWrappingData
impl UnwindSafe for KeyWrappingData
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