Interface ExportAttributes.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ExportAttributes.Builder,ExportAttributes>, SdkBuilder<ExportAttributes.Builder,ExportAttributes>, SdkPojo
Enclosing class:
ExportAttributes

public static interface ExportAttributes.Builder extends SdkPojo, CopyableBuilder<ExportAttributes.Builder,ExportAttributes>
  • Method Details

    • exportDukptInitialKey

      ExportAttributes.Builder exportDukptInitialKey(ExportDukptInitialKey exportDukptInitialKey)

      Parameter information for IPEK export.

      Parameters:
      exportDukptInitialKey - Parameter information for IPEK export.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exportDukptInitialKey

      default ExportAttributes.Builder exportDukptInitialKey(Consumer<ExportDukptInitialKey.Builder> exportDukptInitialKey)

      Parameter information for IPEK export.

      This is a convenience method that creates an instance of the ExportDukptInitialKey.Builder avoiding the need to create one manually via ExportDukptInitialKey.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to exportDukptInitialKey(ExportDukptInitialKey).

      Parameters:
      exportDukptInitialKey - a consumer that will call methods on ExportDukptInitialKey.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • keyCheckValueAlgorithm

      ExportAttributes.Builder keyCheckValueAlgorithm(String keyCheckValueAlgorithm)

      The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. Specify KCV for IPEK export only.

      For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.

      Parameters:
      keyCheckValueAlgorithm - The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. Specify KCV for IPEK export only.

      For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.

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

      ExportAttributes.Builder keyCheckValueAlgorithm(KeyCheckValueAlgorithm keyCheckValueAlgorithm)

      The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. Specify KCV for IPEK export only.

      For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.

      Parameters:
      keyCheckValueAlgorithm - The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. Specify KCV for IPEK export only.

      For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.

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