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
pub fn deserialize<D>(
deserializer: D
) -> Result<PublicKey, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
pub fn deserialize<D>(
deserializer: D
) -> Result<PublicKey, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PublicKey
impl UnwindSafe for PublicKey
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V