pub trait AzureKeyVaultEvmService: Send + Sync {
// Required methods
fn get_evm_address<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AzureKeyVaultResult<Address>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn sign_payload_evm<'life0, 'life1, 'async_trait>(
&'life0 self,
payload: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = AzureKeyVaultResult<Vec<u8>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn sign_hash_evm<'life0, 'life1, 'async_trait>(
&'life0 self,
hash: &'life1 [u8; 32],
) -> Pin<Box<dyn Future<Output = AzureKeyVaultResult<Vec<u8>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Required Methods§
Sourcefn get_evm_address<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AzureKeyVaultResult<Address>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_evm_address<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AzureKeyVaultResult<Address>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the EVM address derived from the configured Azure Key Vault key.
Sourcefn sign_payload_evm<'life0, 'life1, 'async_trait>(
&'life0 self,
payload: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = AzureKeyVaultResult<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn sign_payload_evm<'life0, 'life1, 'async_trait>(
&'life0 self,
payload: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = AzureKeyVaultResult<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Signs a payload using the EVM signing scheme (hashes before signing).
Sourcefn sign_hash_evm<'life0, 'life1, 'async_trait>(
&'life0 self,
hash: &'life1 [u8; 32],
) -> Pin<Box<dyn Future<Output = AzureKeyVaultResult<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn sign_hash_evm<'life0, 'life1, 'async_trait>(
&'life0 self,
hash: &'life1 [u8; 32],
) -> Pin<Box<dyn Future<Output = AzureKeyVaultResult<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Signs a pre-computed hash using the EVM signing scheme (no hashing).