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 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