Class ExportTr34KeyBlock
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptography.model.ExportTr34KeyBlock
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExportTr34KeyBlock.Builder,ExportTr34KeyBlock>
@Generated("software.amazon.awssdk:codegen") public final class ExportTr34KeyBlock extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportTr34KeyBlock.Builder,ExportTr34KeyBlock>
Parameter information for key material export using the asymmetric TR-34 key exchange method.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExportTr34KeyBlock.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExportTr34KeyBlock.Builderbuilder()StringcertificateAuthorityPublicKeyIdentifier()TheKeyARNof the certificate chain that signs the wrapping key certificate during TR-34 key export.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexportToken()The export token to initiate key export from Amazon Web Services Payment Cryptography.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Tr34KeyBlockFormatkeyBlockFormat()The format of key block that Amazon Web Services Payment Cryptography will use during key export.StringkeyBlockFormatAsString()The format of key block that Amazon Web Services Payment Cryptography will use during key export.StringrandomNonce()A random number value that is unique to the TR-34 key block generated using 2 pass.List<SdkField<?>>sdkFields()static Class<? extends ExportTr34KeyBlock.Builder>serializableBuilderClass()ExportTr34KeyBlock.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringwrappingKeyCertificate()TheKeyARNof the wrapping key certificate.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
certificateAuthorityPublicKeyIdentifier
public final String certificateAuthorityPublicKeyIdentifier()
The
KeyARNof the certificate chain that signs the wrapping key certificate during TR-34 key export.- Returns:
- The
KeyARNof the certificate chain that signs the wrapping key certificate during TR-34 key export.
-
exportToken
public final 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.
- Returns:
- 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.
-
keyBlockFormat
public final Tr34KeyBlockFormat keyBlockFormat()
The format of key block that Amazon Web Services Payment Cryptography will use during key export.
If the service returns an enum value that is not available in the current SDK version,
keyBlockFormatwill returnTr34KeyBlockFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyBlockFormatAsString().- Returns:
- The format of key block that Amazon Web Services Payment Cryptography will use during key export.
- See Also:
Tr34KeyBlockFormat
-
keyBlockFormatAsString
public final String keyBlockFormatAsString()
The format of key block that Amazon Web Services Payment Cryptography will use during key export.
If the service returns an enum value that is not available in the current SDK version,
keyBlockFormatwill returnTr34KeyBlockFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyBlockFormatAsString().- Returns:
- The format of key block that Amazon Web Services Payment Cryptography will use during key export.
- See Also:
Tr34KeyBlockFormat
-
randomNonce
public final 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.
- Returns:
- 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.
-
wrappingKeyCertificate
public final String wrappingKeyCertificate()
The
KeyARNof the wrapping key certificate. Amazon Web Services Payment Cryptography uses this certificate to wrap the key under export.- Returns:
- The
KeyARNof the wrapping key certificate. Amazon Web Services Payment Cryptography uses this certificate to wrap the key under export.
-
toBuilder
public ExportTr34KeyBlock.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExportTr34KeyBlock.Builder,ExportTr34KeyBlock>
-
builder
public static ExportTr34KeyBlock.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExportTr34KeyBlock.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-