Class RecipientInfo
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RecipientInfo.Builder,RecipientInfo>
Contains information about the party that receives the response from the API operation.
This data type is designed to support Amazon Web Services Nitro Enclaves and Amazon Web Services NitroTPM, which lets you create an attested environment in Amazon EC2. For information about the interaction between KMS and Amazon Web Services Nitro Enclaves or Amazon Web Services NitroTPM, see Cryptographic attestation support in KMS in the Key Management Service Developer Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal SdkBytesThe attestation document for an Amazon Web Services Nitro Enclave or a NitroTPM.static RecipientInfo.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final KeyEncryptionMechanismThe encryption algorithm that KMS should use with the public key for an Amazon Web Services Nitro Enclave or NitroTPM to encrypt plaintext values for the response.final StringThe encryption algorithm that KMS should use with the public key for an Amazon Web Services Nitro Enclave or NitroTPM to encrypt plaintext values for the response.static Class<? extends RecipientInfo.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
keyEncryptionAlgorithm
The encryption algorithm that KMS should use with the public key for an Amazon Web Services Nitro Enclave or NitroTPM to encrypt plaintext values for the response. The only valid value is
RSAES_OAEP_SHA_256.If the service returns an enum value that is not available in the current SDK version,
keyEncryptionAlgorithmwill returnKeyEncryptionMechanism.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyEncryptionAlgorithmAsString().- Returns:
- The encryption algorithm that KMS should use with the public key for an Amazon Web Services Nitro Enclave
or NitroTPM to encrypt plaintext values for the response. The only valid value is
RSAES_OAEP_SHA_256. - See Also:
-
keyEncryptionAlgorithmAsString
The encryption algorithm that KMS should use with the public key for an Amazon Web Services Nitro Enclave or NitroTPM to encrypt plaintext values for the response. The only valid value is
RSAES_OAEP_SHA_256.If the service returns an enum value that is not available in the current SDK version,
keyEncryptionAlgorithmwill returnKeyEncryptionMechanism.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyEncryptionAlgorithmAsString().- Returns:
- The encryption algorithm that KMS should use with the public key for an Amazon Web Services Nitro Enclave
or NitroTPM to encrypt plaintext values for the response. The only valid value is
RSAES_OAEP_SHA_256. - See Also:
-
attestationDocument
The attestation document for an Amazon Web Services Nitro Enclave or a NitroTPM. This document includes the enclave's public key.
- Returns:
- The attestation document for an Amazon Web Services Nitro Enclave or a NitroTPM. This document includes the enclave's public key.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RecipientInfo.Builder,RecipientInfo>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-