pub struct CustomerKeyMaterial {
pub key: [u8; 32],
pub key_md5: [u8; 16],
}Expand description
Parsed + verified SSE-C key material from the three customer
headers. key_md5 is the MD5 of key (we recompute and compare in
parse_customer_key_headers — clients send their own to catch
transport corruption, but we trust our own computation as the
canonical fingerprint in the S4E3 frame).
Fields§
§key: [u8; 32]§key_md5: [u8; 16]Trait Implementations§
Source§impl Clone for CustomerKeyMaterial
impl Clone for CustomerKeyMaterial
Source§fn clone(&self) -> CustomerKeyMaterial
fn clone(&self) -> CustomerKeyMaterial
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 CustomerKeyMaterial
impl Debug for CustomerKeyMaterial
Source§impl<'a> From<&'a CustomerKeyMaterial> for SseSource<'a>
impl<'a> From<&'a CustomerKeyMaterial> for SseSource<'a>
Source§fn from(m: &'a CustomerKeyMaterial) -> Self
fn from(m: &'a CustomerKeyMaterial) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CustomerKeyMaterial
impl RefUnwindSafe for CustomerKeyMaterial
impl Send for CustomerKeyMaterial
impl Sync for CustomerKeyMaterial
impl Unpin for CustomerKeyMaterial
impl UnsafeUnpin for CustomerKeyMaterial
impl UnwindSafe for CustomerKeyMaterial
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