pub struct PublicKey<'a> { /* private fields */ }Expand description
An elliptic-curve public key, as the certificate wrote it.
Implementations§
Source§impl<'a> PublicKey<'a>
impl<'a> PublicKey<'a>
Sourcepub fn parameters(self) -> Element<'a>
pub fn parameters(self) -> Element<'a>
The original ECParameters element the curve was read from.
Sourcepub fn is_inherited(self) -> bool
pub fn is_inherited(self) -> bool
Whether the parameters were written by an authority above this key rather than by the key itself (RFC 5280 §6.1.4(e)).
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