Package com.amazonaws.encryptionsdk.kms
Interface KmsMethods
-
- All Known Implementing Classes:
AwsKmsMrkAwareMasterKey,AwsKmsMrkAwareMasterKey,KmsMasterKey,KmsMasterKey,KmsMasterKeyProvider,KmsMasterKeyProvider
public interface KmsMethodsMethods common to all classes which interact with KMS.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddGrantToken(String grantToken)AddsgrantTokento the list of grantTokens sent to KMS when this class calls it.List<String>getGrantTokens()Returns the grantTokens which this object sends to KMS when calling it.voidsetGrantTokens(List<String> grantTokens)Sets thegrantTokenswhich should be submitted to KMS when calling it.
-
-
-
Method Detail
-
setGrantTokens
void setGrantTokens(List<String> grantTokens)
Sets thegrantTokenswhich should be submitted to KMS when calling it.
-
getGrantTokens
List<String> getGrantTokens()
Returns the grantTokens which this object sends to KMS when calling it.
-
addGrantToken
void addGrantToken(String grantToken)
AddsgrantTokento the list of grantTokens sent to KMS when this class calls it.
-
-