pub struct DsaParamsV1 {
pub count: u32,
pub seed: [u8; 20],
pub q: [u8; 20],
pub prime: Vec<u8>,
pub generator: Vec<u8>,
}
Expand description
Algorithm-specific DSA parameters. Applies to keys with lesser or equal than 1024 bit length.
Fields§
§count: u32
The number of iterations performed to generate the prime number q
from the seed
.
seed: [u8; 20]
The seed value, in big-endian format, used to generate q.
q: [u8; 20]
The 160-bit prime factor, in big-endian format.
prime: Vec<u8>
DSA prime number, in big-endian format.
generator: Vec<u8>
DSA generator number, in big-endian format.
Trait Implementations§
impl BuilderParams for DsaParamsV1
Auto Trait Implementations§
impl Freeze for DsaParamsV1
impl RefUnwindSafe for DsaParamsV1
impl Send for DsaParamsV1
impl Sync for DsaParamsV1
impl Unpin for DsaParamsV1
impl UnwindSafe for DsaParamsV1
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