Package com.amazonaws.encryptionsdk.kms
Interface KmsMethods
-
- All Known Implementing Classes:
KmsMasterKey
,KmsMasterKeyProvider
public interface KmsMethods
Methods common to all classes which interact with KMS.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addGrantToken(String grantToken)
AddsgrantToken
to 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.void
setGrantTokens(List<String> grantTokens)
Sets thegrantTokens
which should be submitted to KMS when calling it.
-
-
-
Method Detail
-
setGrantTokens
void setGrantTokens(List<String> grantTokens)
Sets thegrantTokens
which 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)
AddsgrantToken
to the list of grantTokens sent to KMS when this class calls it.
-
-