public static interface Key.Builder extends SdkPojo, CopyableBuilder<Key.Builder,Key>
| Modifier and Type | Method and Description |
|---|---|
Key.Builder |
createTimestamp(Instant createTimestamp)
The date and time when the key was created.
|
Key.Builder |
deletePendingTimestamp(Instant deletePendingTimestamp)
The date and time after which Amazon Web Services Payment Cryptography will delete the key.
|
Key.Builder |
deleteTimestamp(Instant deleteTimestamp)
The date and time after which Amazon Web Services Payment Cryptography will delete the key.
|
Key.Builder |
enabled(Boolean enabled)
Specifies whether the key is enabled.
|
Key.Builder |
exportable(Boolean exportable)
Specifies whether the key is exportable.
|
Key.Builder |
keyArn(String keyArn)
The Amazon Resource Name (ARN) of the key.
|
default Key.Builder |
keyAttributes(Consumer<KeyAttributes.Builder> keyAttributes)
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
|
Key.Builder |
keyAttributes(KeyAttributes keyAttributes)
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
|
Key.Builder |
keyCheckValue(String keyCheckValue)
The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect
that a key has changed.
|
Key.Builder |
keyCheckValueAlgorithm(KeyCheckValueAlgorithm keyCheckValueAlgorithm)
The algorithm used for calculating key check value (KCV) for DES and AES keys.
|
Key.Builder |
keyCheckValueAlgorithm(String keyCheckValueAlgorithm)
The algorithm used for calculating key check value (KCV) for DES and AES keys.
|
Key.Builder |
keyOrigin(KeyOrigin keyOrigin)
The source of the key material.
|
Key.Builder |
keyOrigin(String keyOrigin)
The source of the key material.
|
Key.Builder |
keyState(KeyState keyState)
The state of key that is being created or deleted.
|
Key.Builder |
keyState(String keyState)
The state of key that is being created or deleted.
|
Key.Builder |
usageStartTimestamp(Instant usageStartTimestamp)
The date and time after which Amazon Web Services Payment Cryptography will start using the key material for
cryptographic operations.
|
Key.Builder |
usageStopTimestamp(Instant usageStopTimestamp)
The date and time after which Amazon Web Services Payment Cryptography will stop using the key material for
cryptographic operations.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildKey.Builder createTimestamp(Instant createTimestamp)
The date and time when the key was created.
createTimestamp - The date and time when the key was created.Key.Builder deletePendingTimestamp(Instant deletePendingTimestamp)
The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is
present only when KeyState is DELETE_PENDING and the key is scheduled for deletion.
deletePendingTimestamp - The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value
is present only when KeyState is DELETE_PENDING and the key is scheduled for
deletion.Key.Builder deleteTimestamp(Instant deleteTimestamp)
The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is
present only when when the KeyState is DELETE_COMPLETE and the Amazon Web Services
Payment Cryptography key is deleted.
deleteTimestamp - The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value
is present only when when the KeyState is DELETE_COMPLETE and the Amazon Web
Services Payment Cryptography key is deleted.Key.Builder enabled(Boolean enabled)
Specifies whether the key is enabled.
enabled - Specifies whether the key is enabled.Key.Builder exportable(Boolean exportable)
Specifies whether the key is exportable. This data is immutable after the key is created.
exportable - Specifies whether the key is exportable. This data is immutable after the key is created.Key.Builder keyArn(String keyArn)
The Amazon Resource Name (ARN) of the key.
keyArn - The Amazon Resource Name (ARN) of the key.Key.Builder keyAttributes(KeyAttributes keyAttributes)
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
keyAttributes - The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
This data is immutable after the key is created.default Key.Builder keyAttributes(Consumer<KeyAttributes.Builder> keyAttributes)
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
This is a convenience method that creates an instance of theKeyAttributes.Builder avoiding the need
to create one manually via KeyAttributes.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to keyAttributes(KeyAttributes).
keyAttributes - a consumer that will call methods on KeyAttributes.BuilderkeyAttributes(KeyAttributes)Key.Builder keyCheckValue(String keyCheckValue)
The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
keyCheckValue - The key check value (KCV) is used to check if all parties holding a given key have the same key or to
detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using
standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the
result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.Key.Builder keyCheckValueAlgorithm(String keyCheckValueAlgorithm)
The algorithm used for calculating key check value (KCV) for DES and AES keys. For a DES key, Amazon Web Services Payment Cryptography computes the KCV by encrypting 8 bytes, each with value '00', with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For an AES key, Amazon Web Services Payment Cryptography computes the KCV by encrypting 8 bytes, each with value '01', with the key to be checked and retaining the 3 highest order bytes of the encrypted result.
keyCheckValueAlgorithm - The algorithm used for calculating key check value (KCV) for DES and AES keys. For a DES key, Amazon
Web Services Payment Cryptography computes the KCV by encrypting 8 bytes, each with value '00', with
the key to be checked and retaining the 3 highest order bytes of the encrypted result. For an AES key,
Amazon Web Services Payment Cryptography computes the KCV by encrypting 8 bytes, each with value '01',
with the key to be checked and retaining the 3 highest order bytes of the encrypted result.KeyCheckValueAlgorithm,
KeyCheckValueAlgorithmKey.Builder keyCheckValueAlgorithm(KeyCheckValueAlgorithm keyCheckValueAlgorithm)
The algorithm used for calculating key check value (KCV) for DES and AES keys. For a DES key, Amazon Web Services Payment Cryptography computes the KCV by encrypting 8 bytes, each with value '00', with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For an AES key, Amazon Web Services Payment Cryptography computes the KCV by encrypting 8 bytes, each with value '01', with the key to be checked and retaining the 3 highest order bytes of the encrypted result.
keyCheckValueAlgorithm - The algorithm used for calculating key check value (KCV) for DES and AES keys. For a DES key, Amazon
Web Services Payment Cryptography computes the KCV by encrypting 8 bytes, each with value '00', with
the key to be checked and retaining the 3 highest order bytes of the encrypted result. For an AES key,
Amazon Web Services Payment Cryptography computes the KCV by encrypting 8 bytes, each with value '01',
with the key to be checked and retaining the 3 highest order bytes of the encrypted result.KeyCheckValueAlgorithm,
KeyCheckValueAlgorithmKey.Builder keyOrigin(String keyOrigin)
The source of the key material. For keys created within Amazon Web Services Payment Cryptography, the value
is AWS_PAYMENT_CRYPTOGRAPHY. For keys imported into Amazon Web Services Payment Cryptography,
the value is EXTERNAL.
keyOrigin - The source of the key material. For keys created within Amazon Web Services Payment Cryptography, the
value is AWS_PAYMENT_CRYPTOGRAPHY. For keys imported into Amazon Web Services Payment
Cryptography, the value is EXTERNAL.KeyOrigin,
KeyOriginKey.Builder keyOrigin(KeyOrigin keyOrigin)
The source of the key material. For keys created within Amazon Web Services Payment Cryptography, the value
is AWS_PAYMENT_CRYPTOGRAPHY. For keys imported into Amazon Web Services Payment Cryptography,
the value is EXTERNAL.
keyOrigin - The source of the key material. For keys created within Amazon Web Services Payment Cryptography, the
value is AWS_PAYMENT_CRYPTOGRAPHY. For keys imported into Amazon Web Services Payment
Cryptography, the value is EXTERNAL.KeyOrigin,
KeyOriginKey.Builder keyState(String keyState)
The state of key that is being created or deleted.
Key.Builder keyState(KeyState keyState)
The state of key that is being created or deleted.
Key.Builder usageStartTimestamp(Instant usageStartTimestamp)
The date and time after which Amazon Web Services Payment Cryptography will start using the key material for cryptographic operations.
usageStartTimestamp - The date and time after which Amazon Web Services Payment Cryptography will start using the key
material for cryptographic operations.Key.Builder usageStopTimestamp(Instant usageStopTimestamp)
The date and time after which Amazon Web Services Payment Cryptography will stop using the key material for cryptographic operations.
usageStopTimestamp - The date and time after which Amazon Web Services Payment Cryptography will stop using the key
material for cryptographic operations.Copyright © 2023. All rights reserved.