[−][src]Trait radicle_keystore::sign::ed25519::Signer
Associated Types
type Error
Required methods
fn public_key(&self) -> PublicKey
Obtain the PublicKey
used for signing
#[must_use]fn sign<'life0, 'life1, 'async_trait>(
&'life0 self,
data: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<Signature, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
data: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<Signature, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Sign the supplied data with the secret key corresponding to
Signer::public_key
Implementations on Foreign Types
impl Signer for SigningKey
[src]
type Error = Infallible
fn public_key(&self) -> PublicKey
[src]
fn sign<'life0, 'life1, 'async_trait>(
&'life0 self,
data: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<Signature, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
data: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<Signature, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,