|
5 | 5 |
|
6 | 6 | package software.amazon.encryption.s3; |
7 | 7 |
|
| 8 | +import static org.junit.jupiter.api.Assertions.assertEquals; |
8 | 9 | import static software.amazon.encryption.s3.TestUtils.*; |
9 | 10 |
|
10 | 11 | import java.nio.ByteBuffer; |
| 12 | +import java.nio.charset.StandardCharsets; |
11 | 13 | import java.security.KeyPair; |
12 | 14 | import java.security.KeyPairGenerator; |
13 | 15 | import java.util.ArrayList; |
|
21 | 23 | import javax.crypto.KeyGenerator; |
22 | 24 | import javax.crypto.SecretKey; |
23 | 25 |
|
| 26 | +import com.amazonaws.services.s3.AmazonS3ClientBuilder; |
24 | 27 | import org.junit.jupiter.api.AfterAll; |
25 | 28 | import org.junit.jupiter.api.BeforeAll; |
26 | 29 | import org.junit.jupiter.api.DisplayName; |
|
32 | 35 | import org.opentest4j.TestAbortedException; |
33 | 36 |
|
34 | 37 | import software.amazon.awssdk.core.ResponseBytes; |
| 38 | +import software.amazon.awssdk.core.sync.RequestBody; |
35 | 39 | import software.amazon.awssdk.services.s3.S3Client; |
36 | 40 | import software.amazon.awssdk.services.s3.model.GetObjectResponse; |
37 | 41 |
|
38 | 42 | import com.fasterxml.jackson.databind.ObjectMapper; |
39 | 43 |
|
40 | 44 | import software.amazon.encryption.s3.TestUtils.LanguageServerTarget; |
41 | 45 | import software.amazon.encryption.s3.client.S3ECTestServerClient; |
42 | | -import software.amazon.encryption.s3.model.CommitmentPolicy; |
43 | | -import software.amazon.encryption.s3.model.CreateClientInput; |
44 | | -import software.amazon.encryption.s3.model.CreateClientOutput; |
45 | | -import software.amazon.encryption.s3.model.EncryptionAlgorithm; |
46 | | -import software.amazon.encryption.s3.model.InstructionFileConfig; |
47 | | -import software.amazon.encryption.s3.model.KeyMaterial; |
48 | | -import software.amazon.encryption.s3.model.S3ECConfig; |
| 46 | +import software.amazon.encryption.s3.model.*; |
49 | 47 |
|
50 | 48 | /** |
51 | 49 | * Instruction File Failures Test Suite |
|
0 commit comments