public class CipherInputStream extends SdkFilterInputStream
in| Constructor and Description |
|---|
CipherInputStream(InputStream is,
CryptoCipher cryptoCipher) |
CipherInputStream(InputStream is,
CryptoCipher c,
int buffsize) |
| 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)
Note: This implementation will only skip up to the end of the buffered data,
potentially skipping 0 bytes.
|
abort, abortIfNeeded, getDelegateStream, isAborted, releasepublic CipherInputStream(InputStream is, CryptoCipher cryptoCipher)
public CipherInputStream(InputStream is, CryptoCipher c, int buffsize)
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
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
reset in class SdkFilterInputStreamIOExceptionCopyright © 2021. All Rights Reserved.