Interface IASN1InputStream
- All Superinterfaces:
-
AutoCloseable
,Closeable
- All Known Implementing Classes:
-
ASN1InputStreamBC
,ASN1InputStreamBCFips
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 TypeMethodDescriptionvoid
close()
Delegatesclose
method call to the wrapped stream.Calls actualreadObject
method for the wrapped ASN1InputStream object.
-
Method Details
-
readObject
Calls actualreadObject
method for the wrapped ASN1InputStream object.- Returns:
-
IASN1Primitive
wrapped ASN1Primitive object. - Throws:
-
IOException
- if an I/O error occurs.
-
close
Delegatesclose
method call to the wrapped stream.- Specified by:
-
close
in interfaceAutoCloseable
- Specified by:
-
close
in interfaceCloseable
- Throws:
-
IOException
-