Class GrantConstraint


  • public final class GrantConstraint
    extends java.lang.Object
    • Method Detail

      • encryptionContextEquals

        public java.util.Map<java.lang.String,​java.lang.String> encryptionContextEquals()
        Returns:
        List of key-value pairs that must match the encryption context in subsequent cryptographic operation requests. The grant allows the operation only when the encryption context in the request is the same as the encryption context specified in this constraint. Conflicts with `encryptionContextSubset`.
      • encryptionContextSubset

        public java.util.Map<java.lang.String,​java.lang.String> encryptionContextSubset()
        Returns:
        List of key-value pairs that must be included in the encryption context of subsequent cryptographic operation requests. The grant allows the cryptographic operation only when the encryption context in the request includes the key-value pairs specified in this constraint, although it can include additional key-value pairs. Conflicts with `encryptionContextEquals`.