pub trait AwsKmsStellarService: Send + Sync {
// Required methods
fn get_stellar_address<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AwsKmsResult<Address>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn sign_stellar<'life0, 'life1, 'async_trait>(
&'life0 self,
message: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = AwsKmsResult<Vec<u8>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Trait for Stellar-specific AWS KMS operations
Required Methods§
Sourcefn get_stellar_address<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AwsKmsResult<Address>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_stellar_address<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AwsKmsResult<Address>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the Stellar address derived from the configured Ed25519 public key.
Sourcefn sign_stellar<'life0, 'life1, 'async_trait>(
&'life0 self,
message: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = AwsKmsResult<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn sign_stellar<'life0, 'life1, 'async_trait>(
&'life0 self,
message: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = AwsKmsResult<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Signs a message using Ed25519 for Stellar.