Struct ed25519_dalek::PublicKey [] [src]

pub struct PublicKey(pub CompressedEdwardsY);

An ed25519 public key.

Methods

impl PublicKey
[src]

View this public key as an array of 32 bytes.

Verify a signature on a message with this keypair's public key.

Return

Returns true if the signature was successfully verified, and false otherwise.

Trait Implementations

impl Copy for PublicKey
[src]

impl Clone for PublicKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PublicKey
[src]

Formats the value using the given formatter.