#[repr(usize)]pub enum RsaPssKeySize {
N2048 = 256,
N3072 = 384,
N4096 = 512,
N6144 = 768,
N8192 = 1_024,
}
Expand description
The key size is the bit/byte-size of the modulus N. Note that the values are bytes but the names are in bits.
Variants§
N2048 = 256
N = 2048 bits | 256 bytes
N3072 = 384
N = 3072 bits | 384 bytes
N4096 = 512
N = 4096 bits | 512 bytes
N6144 = 768
N = 6144 bits | 768 bytes
N8192 = 1_024
N = 8192 bits | 1024 bytes
Trait Implementations§
Source§impl Clone for RsaPssKeySize
impl Clone for RsaPssKeySize
Source§fn clone(&self) -> RsaPssKeySize
fn clone(&self) -> RsaPssKeySize
Returns a duplicate 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 RsaPssKeySize
impl Debug for RsaPssKeySize
Source§impl PartialEq for RsaPssKeySize
impl PartialEq for RsaPssKeySize
impl Copy for RsaPssKeySize
impl Eq for RsaPssKeySize
impl StructuralPartialEq for RsaPssKeySize
Auto Trait Implementations§
impl Freeze for RsaPssKeySize
impl RefUnwindSafe for RsaPssKeySize
impl Send for RsaPssKeySize
impl Sync for RsaPssKeySize
impl Unpin for RsaPssKeySize
impl UnwindSafe for RsaPssKeySize
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