public class CipherLiteInputStream extends SdkFilterInputStream
CipherLite,
GCMCipherLite| Constructor and Description |
|---|
CipherLiteInputStream(InputStream is) |
CipherLiteInputStream(InputStream is,
CipherLite cipherLite) |
CipherLiteInputStream(InputStream is,
CipherLite c,
int buffsize) |
CipherLiteInputStream(InputStream is,
CipherLite c,
int buffsize,
boolean multipart,
boolean lastMultiPart) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] buf,
int off,
int target_len) |
void |
reset() |
long |
skip(long n) |
abort, getDelegateStream, isMetricActivated, releasepublic CipherLiteInputStream(InputStream is, CipherLite cipherLite)
public CipherLiteInputStream(InputStream is, CipherLite c, int buffsize)
public CipherLiteInputStream(InputStream is, CipherLite c, int buffsize, boolean multipart, boolean lastMultiPart)
public CipherLiteInputStream(InputStream is)
public int read()
throws IOException
read in class SdkFilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] buf,
int off,
int target_len)
throws IOException
read in class SdkFilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
Note: This implementation will only skip up to the end of the buffered data, potentially skipping 0 bytes.
skip in class SdkFilterInputStreamIOExceptionpublic int available()
available in class SdkFilterInputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class SdkFilterInputStreamIOExceptionpublic boolean markSupported()
markSupported in class SdkFilterInputStreampublic void mark(int readlimit)
mark in class SdkFilterInputStreampublic void reset()
throws IOException
Subclassing this method would need to take care in keeping all internal states consistent. REF: TT0036173414, ISSUE-JAVA-547.
reset in class SdkFilterInputStreamIOException