pub struct AesGcmV1 {
pub aad_prefix: Option<Vec<u8>>,
pub aad_file_unique: Option<Vec<u8>>,
pub supply_aad_prefix: Option<bool>,
}
Fields§
§aad_prefix: Option<Vec<u8>>
AAD prefix *
aad_file_unique: Option<Vec<u8>>
Unique file identifier part of AAD suffix *
supply_aad_prefix: Option<bool>
In files encrypted with AAD prefix without storing it, readers must supply the prefix *
Implementations§
Trait Implementations§
source§impl Ord for AesGcmV1
impl Ord for AesGcmV1
source§impl PartialOrd for AesGcmV1
impl PartialOrd for AesGcmV1
source§impl TSerializable for AesGcmV1
impl TSerializable for AesGcmV1
source§fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<AesGcmV1>
fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<AesGcmV1>
Reads the struct from the input Thrift protocol
source§fn write_to_out_protocol<T: TOutputProtocol>(
&self,
o_prot: &mut T,
) -> Result<()>
fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T, ) -> Result<()>
Writes the struct to the output Thrift protocol
impl Eq for AesGcmV1
impl StructuralPartialEq for AesGcmV1
Auto Trait Implementations§
impl Freeze for AesGcmV1
impl RefUnwindSafe for AesGcmV1
impl Send for AesGcmV1
impl Sync for AesGcmV1
impl Unpin for AesGcmV1
impl UnwindSafe for AesGcmV1
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)