Interface ExportTr34KeyBlock.Builder

  • Method Details

    • certificateAuthorityPublicKeyIdentifier

      ExportTr34KeyBlock.Builder certificateAuthorityPublicKeyIdentifier(String certificateAuthorityPublicKeyIdentifier)

      The KeyARN of the certificate chain that signs the wrapping key certificate during TR-34 key export.

      Parameters:
      certificateAuthorityPublicKeyIdentifier - The KeyARN of the certificate chain that signs the wrapping key certificate during TR-34 key export.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • wrappingKeyCertificate

      ExportTr34KeyBlock.Builder wrappingKeyCertificate(String wrappingKeyCertificate)

      The KeyARN of the wrapping key certificate. Amazon Web Services Payment Cryptography uses this certificate to wrap the key under export.

      Parameters:
      wrappingKeyCertificate - The KeyARN of the wrapping key certificate. Amazon Web Services Payment Cryptography uses this certificate to wrap the key under export.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exportToken

      ExportTr34KeyBlock.Builder exportToken(String exportToken)

      The export token to initiate key export from Amazon Web Services Payment Cryptography. It also contains the signing key certificate that will sign the wrapped key during TR-34 key block generation. Call GetParametersForExport to receive an export token. It expires after 30 days. You can use the same export token to export multiple keys from the same service account.

      Parameters:
      exportToken - The export token to initiate key export from Amazon Web Services Payment Cryptography. It also contains the signing key certificate that will sign the wrapped key during TR-34 key block generation. Call GetParametersForExport to receive an export token. It expires after 30 days. You can use the same export token to export multiple keys from the same service account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyBlockFormat

      ExportTr34KeyBlock.Builder keyBlockFormat(String keyBlockFormat)

      The format of key block that Amazon Web Services Payment Cryptography will use during key export.

      Parameters:
      keyBlockFormat - The format of key block that Amazon Web Services Payment Cryptography will use during key export.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • keyBlockFormat

      ExportTr34KeyBlock.Builder keyBlockFormat(Tr34KeyBlockFormat keyBlockFormat)

      The format of key block that Amazon Web Services Payment Cryptography will use during key export.

      Parameters:
      keyBlockFormat - The format of key block that Amazon Web Services Payment Cryptography will use during key export.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • randomNonce

      ExportTr34KeyBlock.Builder randomNonce(String randomNonce)

      A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.

      Parameters:
      randomNonce - A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyBlockHeaders

      ExportTr34KeyBlock.Builder keyBlockHeaders(KeyBlockHeaders keyBlockHeaders)

      Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.

      Parameters:
      keyBlockHeaders - Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyBlockHeaders

      default ExportTr34KeyBlock.Builder keyBlockHeaders(Consumer<KeyBlockHeaders.Builder> keyBlockHeaders)

      Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.

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

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

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