pub trait GoogleCloudKmsK256: Send + Sync {
// Required methods
fn get_pem_public_key<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = GoogleCloudKmsResult<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn sign_digest<'life0, 'async_trait>(
&'life0 self,
digest: [u8; 32],
) -> Pin<Box<dyn Future<Output = GoogleCloudKmsResult<Vec<u8>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn get_pem_public_key<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = GoogleCloudKmsResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_pem_public_key<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = GoogleCloudKmsResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetches the PEM-encoded public key from Google Cloud KMS.