pub struct TlsEnvelopeKey(/* private fields */);Expand description
Envelope encryption key for TLS material
Implementations§
Source§impl TlsEnvelopeKey
impl TlsEnvelopeKey
Sourcepub fn from_bytes(bytes: [u8; 32]) -> Self
pub fn from_bytes(bytes: [u8; 32]) -> Self
Create from bytes
Sourcepub fn from_hex(hex_str: &str) -> Result<Self, TlsEnvelopeError>
pub fn from_hex(hex_str: &str) -> Result<Self, TlsEnvelopeError>
Create from hex string
Trait Implementations§
Source§impl Clone for TlsEnvelopeKey
impl Clone for TlsEnvelopeKey
Source§fn clone(&self) -> TlsEnvelopeKey
fn clone(&self) -> TlsEnvelopeKey
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 moreAuto Trait Implementations§
impl Freeze for TlsEnvelopeKey
impl RefUnwindSafe for TlsEnvelopeKey
impl Send for TlsEnvelopeKey
impl Sync for TlsEnvelopeKey
impl Unpin for TlsEnvelopeKey
impl UnwindSafe for TlsEnvelopeKey
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