pub trait KmsClient: Send + Sync {
    fn supported(&self, key_uri: &str) -> bool;
fn get_aead(&self, key_uri: &str) -> Result<Box<dyn Aead>, TinkError>; }
Expand description

KmsClient knows how to produce primitives backed by keys stored in remote KMS services.

Required methods

Returns true if this client does support key_uri.

Get an Aead backend by key_uri.

Implementors