pub struct PublicKey<'a> { /* private fields */ }Expand description
The subject’s original DSA public component and effective parameters.
Implementations§
Source§impl<'a> PublicKey<'a>
impl<'a> PublicKey<'a>
Sourcepub fn y(&self) -> &Component<'a>
pub fn y(&self) -> &Component<'a>
Original unsigned public component; no mathematical validity is claimed.
Sourcepub fn parameters(&self) -> Option<&Parameters<'a>>
pub fn parameters(&self) -> Option<&Parameters<'a>>
Effective parameters, or None when neither written nor inherited. The caller needs independently supplied parameters before verification in the latter case (RFC 3279 §2.3.2).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PublicKey<'a>
impl<'a> RefUnwindSafe for PublicKey<'a>
impl<'a> Send for PublicKey<'a>
impl<'a> Sync for PublicKey<'a>
impl<'a> Unpin for PublicKey<'a>
impl<'a> UnsafeUnpin for PublicKey<'a>
impl<'a> UnwindSafe for PublicKey<'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