pub struct Es256VerifyingKey(/* private fields */);Expand description
An ES256 public key.
Implementations§
Source§impl Es256VerifyingKey
impl Es256VerifyingKey
Sourcepub fn from_public_key_pem(pem: &str) -> Result<Self, IdentityError>
pub fn from_public_key_pem(pem: &str) -> Result<Self, IdentityError>
Read a SubjectPublicKeyInfo PEM public key.
Trait Implementations§
Source§impl Clone for Es256VerifyingKey
impl Clone for Es256VerifyingKey
Source§fn clone(&self) -> Es256VerifyingKey
fn clone(&self) -> Es256VerifyingKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Es256VerifyingKey
impl RefUnwindSafe for Es256VerifyingKey
impl Send for Es256VerifyingKey
impl Sync for Es256VerifyingKey
impl Unpin for Es256VerifyingKey
impl UnsafeUnpin for Es256VerifyingKey
impl UnwindSafe for Es256VerifyingKey
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