pub struct StandardEncryptionHeader {
pub alg_id: u32,
pub alg_id_hash: u32,
pub key_size: u32,
}Expand description
Parsed header from a Standard Encryption EncryptionInfo stream.
Fields§
§alg_id: u32Encryption algorithm ID (0x6601 = AES-128).
alg_id_hash: u32Hash algorithm ID (0x8004 = SHA-1).
key_size: u32Key size in bits (128).
Trait Implementations§
Source§impl Clone for StandardEncryptionHeader
impl Clone for StandardEncryptionHeader
Source§fn clone(&self) -> StandardEncryptionHeader
fn clone(&self) -> StandardEncryptionHeader
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 moreAuto Trait Implementations§
impl Freeze for StandardEncryptionHeader
impl RefUnwindSafe for StandardEncryptionHeader
impl Send for StandardEncryptionHeader
impl Sync for StandardEncryptionHeader
impl Unpin for StandardEncryptionHeader
impl UnsafeUnpin for StandardEncryptionHeader
impl UnwindSafe for StandardEncryptionHeader
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