| Modifier and Type | Field and Description |
|---|---|
| private final InputStream | |
| private boolean | |
| private int | |
| private byte[] | |
| private MACProvider |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public int | read()
Implements abstract java. Reads the next byte of data from the input stream. |
| public int | read(byte[]
the buffer into which the data is read. b, int the start offset in array off, int b
at which the data is written.the maximum number of bytes to read. len)Overrides java. Reads up to |
| base | back to summary |
|---|---|
| private final InputStream base | |
| baseFinished | back to summary |
|---|---|
| private boolean baseFinished | |
| index | back to summary |
|---|---|
| private int index | |
| mac | back to summary |
|---|---|
| private byte[] mac | |
| macProvider | back to summary |
|---|---|
| private MACProvider macProvider | |
| InputStreamWithMAC | back to summary |
|---|---|
| pack-priv InputStreamWithMAC(InputStream base, MACProvider macProvider) | |
| InputStreamWithMAC | back to summary |
|---|---|
| public InputStreamWithMAC(InputStream base, byte[] mac) | |
| getMAC | back to summary |
|---|---|
| public byte[] getMAC() | |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements abstract java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| read | back to summary |
|---|---|
| public int read(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Reads up to This method blocks until input data is available, end of file is detected, or an exception is thrown. If The first byte read is stored into element In every case, elements
| |