Interface ExportTr34KeyBlock.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExportTr34KeyBlock.Builder,
,ExportTr34KeyBlock> SdkBuilder<ExportTr34KeyBlock.Builder,
,ExportTr34KeyBlock> SdkPojo
- Enclosing class:
ExportTr34KeyBlock
-
Method Summary
Modifier and TypeMethodDescriptioncertificateAuthorityPublicKeyIdentifier
(String certificateAuthorityPublicKeyIdentifier) TheKeyARN
of the certificate chain that signs the wrapping key certificate during TR-34 key export.exportToken
(String exportToken) The export token to initiate key export from Amazon Web Services Payment Cryptography.keyBlockFormat
(String keyBlockFormat) The format of key block that Amazon Web Services Payment Cryptography will use during key export.keyBlockFormat
(Tr34KeyBlockFormat keyBlockFormat) The format of key block that Amazon Web Services Payment Cryptography will use during key export.default ExportTr34KeyBlock.Builder
keyBlockHeaders
(Consumer<KeyBlockHeaders.Builder> keyBlockHeaders) Optional metadata for export associated with the key material.keyBlockHeaders
(KeyBlockHeaders keyBlockHeaders) Optional metadata for export associated with the key material.randomNonce
(String randomNonce) A random number value that is unique to the TR-34 key block generated using 2 pass.wrappingKeyCertificate
(String wrappingKeyCertificate) TheKeyARN
of the wrapping key certificate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
- TheKeyARN
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
The
KeyARN
of the wrapping key certificate. Amazon Web Services Payment Cryptography uses this certificate to wrap the key under export.- Parameters:
wrappingKeyCertificate
- TheKeyARN
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
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
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
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
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
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 theKeyBlockHeaders.Builder
avoiding the need to create one manually viaKeyBlockHeaders.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyBlockHeaders(KeyBlockHeaders)
.- Parameters:
keyBlockHeaders
- a consumer that will call methods onKeyBlockHeaders.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-