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 TypeMethodDescriptionvoidaddGrantToken(String grantToken)AddsgrantTokento the list of grantTokens sent to KMS when this class calls it.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 Details
-
setGrantTokens
Sets thegrantTokenswhich should be submitted to KMS when calling it. -
getGrantTokens
Returns the grantTokens which this object sends to KMS when calling it. -
addGrantToken
AddsgrantTokento the list of grantTokens sent to KMS when this class calls it.
-