Interface KeyModesOfUse.Builder

    • Method Detail

      • decrypt

        KeyModesOfUse.Builder decrypt​(Boolean decrypt)

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

        Parameters:
        decrypt - Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deriveKey

        KeyModesOfUse.Builder deriveKey​(Boolean deriveKey)

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

        Parameters:
        deriveKey - Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encrypt

        KeyModesOfUse.Builder encrypt​(Boolean encrypt)

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

        Parameters:
        encrypt - Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • generate

        KeyModesOfUse.Builder generate​(Boolean generate)

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

        Parameters:
        generate - Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • noRestrictions

        KeyModesOfUse.Builder noRestrictions​(Boolean noRestrictions)

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

        Parameters:
        noRestrictions - Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sign

        KeyModesOfUse.Builder sign​(Boolean sign)

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

        Parameters:
        sign - Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unwrap

        KeyModesOfUse.Builder unwrap​(Boolean unwrap)

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

        Parameters:
        unwrap - Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • verify

        KeyModesOfUse.Builder verify​(Boolean verify)

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

        Parameters:
        verify - Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • wrap

        KeyModesOfUse.Builder wrap​(Boolean wrap)

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

        Parameters:
        wrap - Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.
        Returns:
        Returns a reference to this object so that method calls can be chained together.