Package | Description |
---|---|
com.amazonaws.services.s3.internal |
Modifier and Type | Class and Description |
---|---|
class |
RepeatableCipherInputStream
Deprecated.
this class is no longer used and will be removed in the future
Wraps an InputStream with a CipherInputStream to encrypt it, and handles resets by attempting to reset on the original, unencrypted data InputStream, and recreate an identical Cipher and identical CipherInputStream on the original data. It's repeatable if and only if the underlying unencryptedDataStream is repeatable - if the underlying input stream is not repeatable and you're going to buffer to make it repeatable anyways, it makes more sense to do so after wrapping in this object, so we buffer the encrypted data and don't have to bother re-encrypting on retry.
This stream only supports being marked before the first call to
|
Copyright © 2014. All rights reserved.