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