[−][src]Struct mundane::public::ec::EcPubKey
An elliptic curve public key over a P curve.
EcPubKey
is a public key over the curve C
.
Trait Implementations
impl<C: PCurve> PublicKey for EcPubKey<C>
[src]
type Private = EcPrivKey<C>
The type of the private component.
#[must_use]
fn is_valid<S: Signature<PrivateKey = Self::Private>>(
&self,
message: &[u8],
signature: &S
) -> bool
[src]
&self,
message: &[u8],
signature: &S
) -> bool
impl<C: PCurve> DerPublicKey for EcPubKey<C>
[src]
#[must_use]
fn marshal_to_der(&self) -> Vec<u8>
[src]
#[must_use]
fn parse_from_der(bytes: &[u8]) -> Result<Self, Error>
[src]
impl<C: PCurve> Debug for EcPubKey<C>
[src]
Auto Trait Implementations
impl<C> !Send for EcPubKey<C>
impl<C> Unpin for EcPubKey<C> where
C: Unpin,
C: Unpin,
impl<C> !Sync for EcPubKey<C>
impl<C> RefUnwindSafe for EcPubKey<C> where
C: RefUnwindSafe,
C: RefUnwindSafe,
impl<C> UnwindSafe for EcPubKey<C> where
C: UnwindSafe,
C: UnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,