Class ReEncryptResponse

    • Method Detail

      • ciphertextBlob

        public final SdkBytes ciphertextBlob()

        The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

        Returns:
        The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
      • sourceKeyId

        public final String sourceKeyId()

        Unique identifier of the KMS key used to originally encrypt the data.

        Returns:
        Unique identifier of the KMS key used to originally encrypt the data.
      • keyId

        public final String keyId()

        The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.

        Returns:
        The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.
      • sourceEncryptionAlgorithmAsString

        public final String sourceEncryptionAlgorithmAsString()

        The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.

        If the service returns an enum value that is not available in the current SDK version, sourceEncryptionAlgorithm will return EncryptionAlgorithmSpec.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sourceEncryptionAlgorithmAsString().

        Returns:
        The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
        See Also:
        EncryptionAlgorithmSpec
      • sourceKeyMaterialId

        public final String sourceKeyMaterialId()

        The identifier of the key material used to originally encrypt the data. This field is present only when the original encryption used a symmetric encryption KMS key.

        Returns:
        The identifier of the key material used to originally encrypt the data. This field is present only when the original encryption used a symmetric encryption KMS key.
      • destinationKeyMaterialId

        public final String destinationKeyMaterialId()

        The identifier of the key material used to reencrypt the data. This field is present only when data is reencrypted using a symmetric encryption KMS key.

        Returns:
        The identifier of the key material used to reencrypt the data. This field is present only when data is reencrypted using a symmetric encryption KMS key.
      • 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.
        Overrides:
        toString in class Object