Interface KeyAttributes.Builder

    • Method Detail

      • keyAlgorithm

        KeyAttributes.Builder keyAlgorithm​(String keyAlgorithm)

        The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.

        For symmetric keys, Amazon Web Services Payment Cryptography supports AES and TDES algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports RSA and ECC_NIST algorithms.

        Parameters:
        keyAlgorithm - The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.

        For symmetric keys, Amazon Web Services Payment Cryptography supports AES and TDES algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports RSA and ECC_NIST algorithms.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KeyAlgorithm, KeyAlgorithm
      • keyAlgorithm

        KeyAttributes.Builder keyAlgorithm​(KeyAlgorithm keyAlgorithm)

        The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.

        For symmetric keys, Amazon Web Services Payment Cryptography supports AES and TDES algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports RSA and ECC_NIST algorithms.

        Parameters:
        keyAlgorithm - The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.

        For symmetric keys, Amazon Web Services Payment Cryptography supports AES and TDES algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports RSA and ECC_NIST algorithms.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KeyAlgorithm, KeyAlgorithm
      • keyClass

        KeyAttributes.Builder keyClass​(String keyClass)

        The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.

        Parameters:
        keyClass - The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KeyClass, KeyClass
      • keyClass

        KeyAttributes.Builder keyClass​(KeyClass keyClass)

        The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.

        Parameters:
        keyClass - The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KeyClass, KeyClass
      • keyModesOfUse

        KeyAttributes.Builder keyModesOfUse​(KeyModesOfUse keyModesOfUse)

        The list of cryptographic operations that you can perform using the key.

        Parameters:
        keyModesOfUse - The list of cryptographic operations that you can perform using the key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyUsage

        KeyAttributes.Builder keyUsage​(String keyUsage)

        The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.

        Parameters:
        keyUsage - The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KeyUsage, KeyUsage
      • keyUsage

        KeyAttributes.Builder keyUsage​(KeyUsage keyUsage)

        The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.

        Parameters:
        keyUsage - The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KeyUsage, KeyUsage