Class KeyModesOfUse

    • Method Detail

      • decrypt

        public final Boolean decrypt()

        Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.

        Returns:
        Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.
      • deriveKey

        public final Boolean deriveKey()

        Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.

        Returns:
        Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.
      • encrypt

        public final Boolean encrypt()

        Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.

        Returns:
        Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.
      • generate

        public final Boolean generate()

        Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.

        Returns:
        Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.
      • noRestrictions

        public final Boolean noRestrictions()

        Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage.

        Returns:
        Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage.
      • sign

        public final Boolean sign()

        Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.

        Returns:
        Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.
      • unwrap

        public final Boolean unwrap()

        Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.

        Returns:
        Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.
      • verify

        public final Boolean verify()

        Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.

        Returns:
        Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.
      • wrap

        public final Boolean wrap()

        Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.

        Returns:
        Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)