pub enum OaepDigestAlgorithm {
Sha1,
Sha256,
Sha384,
Sha512,
}Expand description
Digest algorithms accepted by RSA-OAEP encryption.
Variants§
Sha1
SHA-1, retained for legacy XMLEnc OAEP interoperability.
Sha256
SHA-256.
Sha384
SHA-384.
Sha512
SHA-512.
Implementations§
Trait Implementations§
Source§impl Clone for OaepDigestAlgorithm
impl Clone for OaepDigestAlgorithm
Source§fn clone(&self) -> OaepDigestAlgorithm
fn clone(&self) -> OaepDigestAlgorithm
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 OaepDigestAlgorithm
Source§impl Debug for OaepDigestAlgorithm
impl Debug for OaepDigestAlgorithm
impl Eq for OaepDigestAlgorithm
Source§impl Hash for OaepDigestAlgorithm
impl Hash for OaepDigestAlgorithm
Source§impl PartialEq for OaepDigestAlgorithm
impl PartialEq for OaepDigestAlgorithm
impl StructuralPartialEq for OaepDigestAlgorithm
Auto Trait Implementations§
impl Freeze for OaepDigestAlgorithm
impl RefUnwindSafe for OaepDigestAlgorithm
impl Send for OaepDigestAlgorithm
impl Sync for OaepDigestAlgorithm
impl Unpin for OaepDigestAlgorithm
impl UnsafeUnpin for OaepDigestAlgorithm
impl UnwindSafe for OaepDigestAlgorithm
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