Enum rustls_cng::key::SignaturePadding
source · pub enum SignaturePadding {
None,
Pkcs1,
Pss,
}
Expand description
Signature padding. Used with RSA keys.
Variants§
Trait Implementations§
source§impl Clone for SignaturePadding
impl Clone for SignaturePadding
source§fn clone(&self) -> SignaturePadding
fn clone(&self) -> SignaturePadding
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 moresource§impl Debug for SignaturePadding
impl Debug for SignaturePadding
source§impl PartialEq for SignaturePadding
impl PartialEq for SignaturePadding
source§fn eq(&self, other: &SignaturePadding) -> bool
fn eq(&self, other: &SignaturePadding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SignaturePadding
impl PartialOrd for SignaturePadding
source§fn partial_cmp(&self, other: &SignaturePadding) -> Option<Ordering>
fn partial_cmp(&self, other: &SignaturePadding) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SignaturePadding
impl Eq for SignaturePadding
impl StructuralPartialEq for SignaturePadding
Auto Trait Implementations§
impl Freeze for SignaturePadding
impl RefUnwindSafe for SignaturePadding
impl Send for SignaturePadding
impl Sync for SignaturePadding
impl Unpin for SignaturePadding
impl UnwindSafe for SignaturePadding
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)