public interface KmsClient
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesSupport(String keyUri) |
Aead |
getAead(String keyUri)
Gets an
Aead backed by keyUri. |
KmsClient |
withCredentials(String credentialPath)
Loads the credentials in
credentialPath. |
KmsClient |
withDefaultCredentials()
Loads the default credentials.
|
boolean doesSupport(String keyUri)
keyUriKmsClient withCredentials(String credentialPath) throws GeneralSecurityException
credentialPath. If credentialPath is null, loads the
default credentials.GeneralSecurityExceptionKmsClient withDefaultCredentials() throws GeneralSecurityException
GeneralSecurityExceptionAead getAead(String keyUri) throws GeneralSecurityException
Aead backed by keyUri.GeneralSecurityException - if the URI is not supported or invalid