Skip to content

Commit ec5887e

Browse files
committed
add tests for ReEncrypt
1 parent 790ae2b commit ec5887e

File tree

2 files changed

+600
-0
lines changed

2 files changed

+600
-0
lines changed

src/main/java/software/amazon/encryption/s3/S3EncryptionClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ public ReEncryptInstructionFileResponse reEncryptInstructionFile(ReEncryptInstru
258258
DecryptMaterialsRequest.builder()
259259
.algorithmSuite(algorithmSuite)
260260
.encryptedDataKeys(Collections.singletonList(originalEncryptedDataKey))
261+
.materialsDescription(contentMetadata.materialsDescription())
261262
.s3Request(request)
262263
.build()
263264
);

0 commit comments

Comments
 (0)