Package org.bouncycastle.openpgp
Class IntegrityProtectedInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.bouncycastle.openpgp.IntegrityProtectedInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
InputStream
that performs verification of integrity protection upon close()
.-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, reset, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
IntegrityProtectedInputStream
-
-
Method Details
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
- Throws:
IOException
-