[][src]Struct xaynet_core::crypto::PublicSigningKey

pub struct PublicSigningKey(_);

An Ed25519 public key for signatures.

Implementations

impl PublicSigningKey[src]

pub fn verify_detached(&self, s: &Signature, m: &[u8]) -> bool[src]

Verifies the signature s against the message m and this public key.

Returns true if the signature is valid and false otherwise.

Trait Implementations

impl AsMut<PublicKey> for PublicSigningKey[src]

impl AsRef<PublicKey> for PublicSigningKey[src]

impl ByteObject for PublicSigningKey[src]

impl Clone for PublicSigningKey[src]

impl Copy for PublicSigningKey[src]

impl Debug for PublicSigningKey[src]

impl<'de> Deserialize<'de> for PublicSigningKey[src]

impl Eq for PublicSigningKey[src]

impl From<PublicKey> for PublicSigningKey[src]

impl Hash for PublicSigningKey[src]

impl Ord for PublicSigningKey[src]

impl PartialEq<PublicSigningKey> for PublicSigningKey[src]

impl PartialOrd<PublicSigningKey> for PublicSigningKey[src]

impl Serialize for PublicSigningKey[src]

impl StructuralEq for PublicSigningKey[src]

impl StructuralPartialEq for PublicSigningKey[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,