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) TheKeyARNof 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.BuilderkeyBlockHeaders(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) TheKeyARNof the wrapping key certificate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
certificateAuthorityPublicKeyIdentifier
ExportTr34KeyBlock.Builder certificateAuthorityPublicKeyIdentifier(String certificateAuthorityPublicKeyIdentifier) The
KeyARNof the certificate chain that signs the wrapping key certificate during TR-34 key export.- Parameters:
certificateAuthorityPublicKeyIdentifier- TheKeyARNof 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
KeyARNof the wrapping key certificate. Amazon Web Services Payment Cryptography uses this certificate to wrap the key under export.- Parameters:
wrappingKeyCertificate- TheKeyARNof 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 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
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.Builderavoiding the need to create one manually viaKeyBlockHeaders.builder().When the
Consumercompletes,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:
-