File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/software/amazon/encryption/s3/internal Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1717import software .amazon .encryption .s3 .materials .DecryptionMaterials ;
1818import software .amazon .encryption .s3 .materials .EncryptedDataKey ;
1919
20- import javax .crypto .SecretKey ;
2120import java .nio .ByteBuffer ;
2221import java .util .Collections ;
2322import java .util .List ;
@@ -139,8 +138,8 @@ public void onStream(SdkPublisher<ByteBuffer> ciphertextPublisher) {
139138 long [] desiredRange = RangedGetUtils .getRange (materials .getContentRange ());
140139 long [] cryptoRange = RangedGetUtils .getCryptoRange (materials .getContentRange ());
141140 AlgorithmSuite algorithmSuite = materials .algorithmSuite ();
142- SecretKey contentKey = materials .dataKey ();
143- final int tagLength = algorithmSuite .cipherTagLengthBits ();
141+ // SecretKey contentKey = materials.dataKey();
142+ // final int tagLength = algorithmSuite.cipherTagLengthBits();
144143 byte [] iv = contentMetadata .contentIv ();
145144 if (algorithmSuite == AlgorithmSuite .ALG_AES_256_CTR_IV16_TAG16_NO_KDF ) {
146145 iv = AesCtrUtils .adjustIV (iv , cryptoRange [0 ]);
You can’t perform that action at this time.
0 commit comments