pub enum RsaKeySizePolicy {
Minimum2048,
Minimum3072,
}Expand description
Defines secure RSA key-size policy thresholds for safe key-generation entry points.
Variants§
Minimum2048
Requires at least 2048-bit RSA modulus length.
Minimum3072
Requires at least 3072-bit RSA modulus length.
Trait Implementations§
Source§impl Clone for RsaKeySizePolicy
impl Clone for RsaKeySizePolicy
Source§fn clone(&self) -> RsaKeySizePolicy
fn clone(&self) -> RsaKeySizePolicy
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 moreSource§impl Debug for RsaKeySizePolicy
impl Debug for RsaKeySizePolicy
Source§impl PartialEq for RsaKeySizePolicy
impl PartialEq for RsaKeySizePolicy
Source§fn eq(&self, other: &RsaKeySizePolicy) -> bool
fn eq(&self, other: &RsaKeySizePolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RsaKeySizePolicy
impl Eq for RsaKeySizePolicy
impl StructuralPartialEq for RsaKeySizePolicy
Auto Trait Implementations§
impl Freeze for RsaKeySizePolicy
impl RefUnwindSafe for RsaKeySizePolicy
impl Send for RsaKeySizePolicy
impl Sync for RsaKeySizePolicy
impl Unpin for RsaKeySizePolicy
impl UnsafeUnpin for RsaKeySizePolicy
impl UnwindSafe for RsaKeySizePolicy
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