Skip to main content

Ed25519SigningKey

Trait Ed25519SigningKey 

Source
pub trait Ed25519SigningKey {
    // Required method
    fn sign(&self, message: &[u8]) -> Signature;
}
Expand description

An object that can generate Ed25519 signatures.

Required Methods§

Source

fn sign(&self, message: &[u8]) -> Signature

Sign a message with this key.

Implementations on Foreign Types§

Source§

impl Ed25519SigningKey for RelayIdentityKeypair

Source§

fn sign(&self, msg: &[u8]) -> Signature

Source§

impl Ed25519SigningKey for RelayLinkSigningKeypair

Source§

fn sign(&self, msg: &[u8]) -> Signature

Source§

impl Ed25519SigningKey for RelaySigningKeypair

Source§

fn sign(&self, msg: &[u8]) -> Signature

Implementors§