File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/test/java/com/amazonaws/encryptionsdk Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 89
89
RestrictRegionExampleTest .class ,
90
90
SimpleDataKeyCachingExampleTest .class ,
91
91
SetEncryptionAlgorithmExampleTest .class ,
92
- SetCommitmentPolicyExampleTest .class
92
+ SetCommitmentPolicyExampleTest .class ,
93
+ ParsedCiphertextTest .class ,
93
94
})
94
95
public class AllTestsSuite {
95
96
}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public class ParsedCiphertextTest extends CiphertextHeaders {
25
25
public void init () {
26
26
masterKeyProvider = spy (new StaticMasterKey ("testmaterial" ));
27
27
28
- encryptionClient_ = AwsCrypto .standard ();
28
+ encryptionClient_ = AwsCrypto .builder (). withCommitmentPolicy ( CommitmentPolicy . ForbidEncryptAllowDecrypt ). build ();
29
29
encryptionClient_ .setEncryptionAlgorithm (CryptoAlgorithm .ALG_AES_128_GCM_IV12_TAG16_HKDF_SHA256 );
30
30
}
31
31
You can’t perform that action at this time.
0 commit comments