pub enum KeyTransportAlgorithm {
RsaOaepMgf1p,
RsaOaep11,
}Expand description
Supported asymmetric session-key transport algorithms.
Variants§
RsaOaepMgf1p
XML Encryption 1.0 OAEP with SHA-1 and MGF1-SHA-1.
RsaOaep11
XML Encryption 1.1 OAEP with explicitly parsed digest and MGF settings.
Implementations§
Trait Implementations§
Source§impl Clone for KeyTransportAlgorithm
impl Clone for KeyTransportAlgorithm
Source§fn clone(&self) -> KeyTransportAlgorithm
fn clone(&self) -> KeyTransportAlgorithm
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 moreimpl Copy for KeyTransportAlgorithm
Source§impl Debug for KeyTransportAlgorithm
impl Debug for KeyTransportAlgorithm
impl Eq for KeyTransportAlgorithm
Source§impl Hash for KeyTransportAlgorithm
impl Hash for KeyTransportAlgorithm
Source§impl PartialEq for KeyTransportAlgorithm
impl PartialEq for KeyTransportAlgorithm
impl StructuralPartialEq for KeyTransportAlgorithm
Auto Trait Implementations§
impl Freeze for KeyTransportAlgorithm
impl RefUnwindSafe for KeyTransportAlgorithm
impl Send for KeyTransportAlgorithm
impl Sync for KeyTransportAlgorithm
impl Unpin for KeyTransportAlgorithm
impl UnsafeUnpin for KeyTransportAlgorithm
impl UnwindSafe for KeyTransportAlgorithm
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