Interface ImportKeyCryptogram.Builder

    • Method Detail

      • exportable

        ImportKeyCryptogram.Builder exportable​(Boolean exportable)

        Specifies whether the key is exportable from the service.

        Parameters:
        exportable - Specifies whether the key is exportable from the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • importToken

        ImportKeyCryptogram.Builder importToken​(String importToken)

        The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography. It expires after 7 days. You can use the same import token to import multiple keys to the same service account.

        Parameters:
        importToken - The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography. It expires after 7 days. You can use the same import token to import multiple keys to the same service account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyAttributes

        ImportKeyCryptogram.Builder keyAttributes​(KeyAttributes keyAttributes)
        Sets the value of the KeyAttributes property for this object.
        Parameters:
        keyAttributes - The new value for the KeyAttributes property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • wrappedKeyCryptogram

        ImportKeyCryptogram.Builder wrappedKeyCryptogram​(String wrappedKeyCryptogram)

        The RSA wrapped key cryptogram under import.

        Parameters:
        wrappedKeyCryptogram - The RSA wrapped key cryptogram under import.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • wrappingSpec

        ImportKeyCryptogram.Builder wrappingSpec​(String wrappingSpec)

        The wrapping spec for the wrapped key cryptogram.

        Parameters:
        wrappingSpec - The wrapping spec for the wrapped key cryptogram.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        WrappingKeySpec, WrappingKeySpec