pub struct Parameters<'a> { /* private fields */ }Expand description
The domain parameters in force, still borrowing their original source.
Implementations§
Source§impl<'a> Parameters<'a>
impl<'a> Parameters<'a>
Sourcepub fn p(&self) -> &Component<'a>
pub fn p(&self) -> &Component<'a>
The encoded prime candidate; primality has not been established.
Sourcepub fn q(&self) -> &Component<'a>
pub fn q(&self) -> &Component<'a>
The encoded subgroup-order candidate; no group check is implied.
Sourcepub fn g(&self) -> &Component<'a>
pub fn g(&self) -> &Component<'a>
The encoded generator candidate; no range or order check is implied.
Sourcepub fn element(&self) -> Element<'a>
pub fn element(&self) -> Element<'a>
The whole original Dss-Parms SEQUENCE, including its header.
Sourcepub fn is_inherited(&self) -> bool
pub fn is_inherited(&self) -> bool
Whether these parameters came from an authority above this key.
Trait Implementations§
Source§impl<'a> Clone for Parameters<'a>
impl<'a> Clone for Parameters<'a>
impl<'a> Copy for Parameters<'a>
Auto Trait Implementations§
impl<'a> Freeze for Parameters<'a>
impl<'a> RefUnwindSafe for Parameters<'a>
impl<'a> Send for Parameters<'a>
impl<'a> Sync for Parameters<'a>
impl<'a> Unpin for Parameters<'a>
impl<'a> UnsafeUnpin for Parameters<'a>
impl<'a> UnwindSafe for Parameters<'a>
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