pub struct VcrdAttribute {
pub id: u32,
pub iv: Vec<u8>,
pub data: Vec<u8>,
}Expand description
One VAULT_VCRD attribute’s encrypted payload.
iv is empty when the attribute carries no IV (impacket then uses AES-CBC
with a zero IV); data is the AES-CBC ciphertext.
Fields§
§id: u32§iv: Vec<u8>§data: Vec<u8>Trait Implementations§
Source§impl Clone for VcrdAttribute
impl Clone for VcrdAttribute
Source§fn clone(&self) -> VcrdAttribute
fn clone(&self) -> VcrdAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VcrdAttribute
impl Debug for VcrdAttribute
impl Eq for VcrdAttribute
Source§impl PartialEq for VcrdAttribute
impl PartialEq for VcrdAttribute
Source§fn eq(&self, other: &VcrdAttribute) -> bool
fn eq(&self, other: &VcrdAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VcrdAttribute
Auto Trait Implementations§
impl Freeze for VcrdAttribute
impl RefUnwindSafe for VcrdAttribute
impl Send for VcrdAttribute
impl Sync for VcrdAttribute
impl Unpin for VcrdAttribute
impl UnsafeUnpin for VcrdAttribute
impl UnwindSafe for VcrdAttribute
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