pub trait WalletModule {
// Required methods
fn get_wallet_dids<'life0, 'async_trait>(
&'life0 self,
options: Did,
) -> Pin<Box<dyn Future<Output = Result<DidList>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_local_did<'life0, 'async_trait>(
&'life0 self,
options: CreateLocalDidOptions,
) -> Pin<Box<dyn Future<Output = Result<Did>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn rotate_keypair<'life0, 'async_trait>(
&'life0 self,
did: String,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn fetch_public_did<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Did>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn assign_public_did<'life0, 'async_trait>(
&'life0 self,
did: String,
) -> Pin<Box<dyn Future<Output = Result<Did>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn fetch_did_endpoint<'life0, 'async_trait>(
&'life0 self,
did: String,
) -> Pin<Box<dyn Future<Output = Result<DidEndpoint>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_did_endpoint<'life0, 'async_trait>(
&'life0 self,
options: SetDidEndpointOptions,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Generic cloudagent basic message module
Required Methods§
Sourcefn get_wallet_dids<'life0, 'async_trait>(
&'life0 self,
options: Did,
) -> Pin<Box<dyn Future<Output = Result<DidList>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_wallet_dids<'life0, 'async_trait>(
&'life0 self,
options: Did,
) -> Pin<Box<dyn Future<Output = Result<DidList>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Query a wallet for DIDs
Sourcefn create_local_did<'life0, 'async_trait>(
&'life0 self,
options: CreateLocalDidOptions,
) -> Pin<Box<dyn Future<Output = Result<Did>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_local_did<'life0, 'async_trait>(
&'life0 self,
options: CreateLocalDidOptions,
) -> Pin<Box<dyn Future<Output = Result<Did>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Create a local DID
Sourcefn rotate_keypair<'life0, 'async_trait>(
&'life0 self,
did: String,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn rotate_keypair<'life0, 'async_trait>(
&'life0 self,
did: String,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Rotate key pair
Sourcefn fetch_public_did<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Did>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_public_did<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Did>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetch public did
Sourcefn assign_public_did<'life0, 'async_trait>(
&'life0 self,
did: String,
) -> Pin<Box<dyn Future<Output = Result<Did>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn assign_public_did<'life0, 'async_trait>(
&'life0 self,
did: String,
) -> Pin<Box<dyn Future<Output = Result<Did>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Assign the current public DID
Sourcefn fetch_did_endpoint<'life0, 'async_trait>(
&'life0 self,
did: String,
) -> Pin<Box<dyn Future<Output = Result<DidEndpoint>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_did_endpoint<'life0, 'async_trait>(
&'life0 self,
did: String,
) -> Pin<Box<dyn Future<Output = Result<DidEndpoint>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Query DID endpoint of wallet
Sourcefn set_did_endpoint<'life0, 'async_trait>(
&'life0 self,
options: SetDidEndpointOptions,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_did_endpoint<'life0, 'async_trait>(
&'life0 self,
options: SetDidEndpointOptions,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Set DID endpoint of wallet