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, release
public CipherInputStream(InputStream is, CryptoCipher cryptoCipher)
public CipherInputStream(InputStream is, CryptoCipher c, int buffsize)
public int read() throws IOException
read
in class SdkFilterInputStream
IOException
public int read(byte[] b) throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] buf, int off, int target_len) throws IOException
read
in class SdkFilterInputStream
IOException
public long skip(long n) throws IOException
skip
in class SdkFilterInputStream
IOException
public int available()
available
in class SdkFilterInputStream
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class SdkFilterInputStream
IOException
public boolean markSupported()
markSupported
in class SdkFilterInputStream
public void mark(int readlimit)
mark
in class SdkFilterInputStream
public void reset() throws IOException
reset
in class SdkFilterInputStream
IOException
Copyright © 2024. All Rights Reserved.