public class IntegrityProtectedInputStream
extends java.io.FilterInputStream
InputStream
that performs verification of integrity protection upon close()
.Constructor and Description |
---|
IntegrityProtectedInputStream(java.io.InputStream in,
PGPEncryptedData dataPacket) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
public IntegrityProtectedInputStream(java.io.InputStream in, PGPEncryptedData dataPacket)
public int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterInputStream
java.io.IOException