pub trait SingleSigner: Sync + Send {
// Required methods
fn compute_single_signatures<'life0, 'life1, 'async_trait>(
&'life0 self,
protocol_message: &'life1 ProtocolMessage,
) -> Pin<Box<dyn Future<Output = StdResult<Option<SingleSignatures>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_party_id(&self) -> PartyId;
}
Expand description
The SingleSigner is the structure responsible for issuing SingleSignatures.
Required Methods§
sourcefn compute_single_signatures<'life0, 'life1, 'async_trait>(
&'life0 self,
protocol_message: &'life1 ProtocolMessage,
) -> Pin<Box<dyn Future<Output = StdResult<Option<SingleSignatures>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn compute_single_signatures<'life0, 'life1, 'async_trait>(
&'life0 self,
protocol_message: &'life1 ProtocolMessage,
) -> Pin<Box<dyn Future<Output = StdResult<Option<SingleSignatures>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Computes single signatures
sourcefn get_party_id(&self) -> PartyId
fn get_party_id(&self) -> PartyId
Get party id