Struct libp2p::identity::ed25519::PublicKey [−][src]
pub struct PublicKey(_);
Expand description
An Ed25519 public key.
Implementations
Verify the Ed25519 signature on a message using the public key.
Encode the public key into a byte array in compressed form, i.e. where one coordinate is represented by a single bit.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PublicKey
impl UnwindSafe for PublicKey
Blanket Implementations
Mutably borrows from an owned value. Read more