Interface ExportTr34KeyBlock.Builder

    • Method Detail

      • 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.
      • 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 7 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 7 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:
        Tr34KeyBlockFormat, Tr34KeyBlockFormat
      • 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:
        Tr34KeyBlockFormat, Tr34KeyBlockFormat
      • 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.
      • 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.