pub struct KeySize { /* private fields */ }
Expand description
DSA key size
Implementations§
source§impl KeySize
impl KeySize
sourcepub const DSA_1024_160: KeySize = _
👎Deprecated: This size constant has a security strength of under 112 bits per SP 800-57 Part 1 Rev. 5
pub const DSA_1024_160: KeySize = _
DSA parameter size constant: L = 1024, N = 160
sourcepub const DSA_2048_224: KeySize = _
pub const DSA_2048_224: KeySize = _
DSA parameter size constant: L = 2048, N = 224
sourcepub const DSA_2048_256: KeySize = _
pub const DSA_2048_256: KeySize = _
DSA parameter size constant: L = 2048, N = 256
sourcepub const DSA_3072_256: KeySize = _
pub const DSA_3072_256: KeySize = _
DSA parameter size constant: L = 3072, N = 256
Trait Implementations§
source§impl From<DsaKeySize> for KeySize
impl From<DsaKeySize> for KeySize
source§fn from(value: DsaKeySize) -> Self
fn from(value: DsaKeySize) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for KeySize
impl Send for KeySize
impl Sync for KeySize
impl Unpin for KeySize
impl UnwindSafe for KeySize
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