private S3ObjectWrapper decrypt(S3ObjectWrapper wrapper,
                                    ContentCryptoMaterial cekMaterial, long[] range) {
        S3ObjectInputStream objectContent = wrapper.getObjectContent();
        wrapper.setObjectContent(new S3ObjectInputStream(
                new CipherLiteInputStream(objectContent,
                    cekMaterial.getCipherLite(),
                    DEFAULT_BUFFER_SIZE),
                    objectContent.getHttpRequest()));
        return wrapper;
    }
Returns an updated object where the object content input stream contains the decrypted contents.

@param wrapper
     The object whose contents are to be decrypted.
@param cekMaterial
     The instruction that will be used to decrypt the object data.
@return
     The updated object where the object content input stream contains the decrypted contents.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/crypto/v2/S3CryptoModuleAE.java