pub enum EncryptionPadding {
Oaep(OaepPadding),
Pkcs1,
}
Expand description
Supported encryption padding schemes.
Variants§
Oaep(OaepPadding)
OAEP (Optimal Asymmetric Encryption Padding) scheme.
Pkcs1
PKCS #1 padding scheme.
Trait Implementations§
Source§impl Clone for EncryptionPadding
impl Clone for EncryptionPadding
Source§fn clone(&self) -> EncryptionPadding
fn clone(&self) -> EncryptionPadding
Returns a copy 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 EncryptionPadding
impl RefUnwindSafe for EncryptionPadding
impl Send for EncryptionPadding
impl Sync for EncryptionPadding
impl Unpin for EncryptionPadding
impl UnwindSafe for EncryptionPadding
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