Interface IASN1InputStream
- All Superinterfaces:
AutoCloseable, Closeable
- All Known Implementing Classes:
ASN1InputStreamBC
This interface represents the wrapper for ASN1InputStream that provides the ability
to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Delegatesclosemethod call to the wrapped stream.Calls actualreadObjectmethod for the wrapped ASN1InputStream object.
-
Method Details
-
readObject
Calls actualreadObjectmethod for the wrapped ASN1InputStream object.- Returns:
IASN1Primitivewrapped ASN1Primitive object.- Throws:
IOException- if an I/O error occurs.
-
close
Delegatesclosemethod call to the wrapped stream.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-