Class CipherLiteInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.amazonaws.internal.SdkFilterInputStream
com.amazonaws.services.s3.internal.crypto.CipherLiteInputStream
- All Implemented Interfaces:
com.amazonaws.internal.MetricAware
,com.amazonaws.internal.Releasable
,Closeable
,AutoCloseable
- Direct Known Subclasses:
RenewableCipherLiteInputStream
public class CipherLiteInputStream
extends com.amazonaws.internal.SdkFilterInputStream
- Author:
- Hanson Char
- See Also:
-
CipherLite
GCMCipherLite
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CipherLiteInputStream
(InputStream is, com.amazonaws.services.s3.internal.crypto.CipherLite cipherLite) CipherLiteInputStream
(InputStream is, com.amazonaws.services.s3.internal.crypto.CipherLite c, int buffsize) CipherLiteInputStream
(InputStream is, com.amazonaws.services.s3.internal.crypto.CipherLite c, int buffsize, boolean multipart, boolean lastMultiPart) -
Method Summary
Methods inherited from class com.amazonaws.internal.SdkFilterInputStream
abort, abortIfNeeded, isMetricActivated, release
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
CipherLiteInputStream
public CipherLiteInputStream(InputStream is, com.amazonaws.services.s3.internal.crypto.CipherLite cipherLite) -
CipherLiteInputStream
public CipherLiteInputStream(InputStream is, com.amazonaws.services.s3.internal.crypto.CipherLite c, int buffsize) -
CipherLiteInputStream
public CipherLiteInputStream(InputStream is, com.amazonaws.services.s3.internal.crypto.CipherLite c, int buffsize, boolean multipart, boolean lastMultiPart) -
CipherLiteInputStream
-
-
Method Details
-
read
- Overrides:
read
in classcom.amazonaws.internal.SdkFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classcom.amazonaws.internal.SdkFilterInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classcom.amazonaws.internal.SdkFilterInputStream
- Throws:
IOException
-
available
public int available()- Overrides:
available
in classcom.amazonaws.internal.SdkFilterInputStream
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classcom.amazonaws.internal.SdkFilterInputStream
- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupported
in classcom.amazonaws.internal.SdkFilterInputStream
-
mark
public void mark(int readlimit) - Overrides:
mark
in classcom.amazonaws.internal.SdkFilterInputStream
-
reset
Subclassing this method would need to take care in keeping all internal states consistent. REF: TT0036173414, ISSUE-JAVA-547.
- Overrides:
reset
in classcom.amazonaws.internal.SdkFilterInputStream
- Throws:
IOException
-