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 Type
    Method
    Description
    void
    addGrantToken​(String grantToken)
    Adds grantToken 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 the grantTokens which should be submitted to KMS when calling it.
  • Method Details

    • setGrantTokens

      void setGrantTokens(List<String> grantTokens)
      Sets the grantTokens 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)
      Adds grantToken to the list of grantTokens sent to KMS when this class calls it.