Interface IASN1InputStream
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable
- All Known Implementing Classes:
ASN1InputStreamBC
public interface IASN1InputStream extends java.io.CloseableThis interface represents the wrapper for ASN1InputStream that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Delegatesclosemethod call to the wrapped stream.IASN1PrimitivereadObject()Calls actualreadObjectmethod for the wrapped ASN1InputStream object.
-
-
-
Method Detail
-
readObject
IASN1Primitive readObject() throws java.io.IOException
Calls actualreadObjectmethod for the wrapped ASN1InputStream object.- Returns:
IASN1Primitivewrapped ASN1Primitive object.- Throws:
java.io.IOException- if an I/O error occurs.
-
close
void close() throws java.io.IOExceptionDelegatesclosemethod call to the wrapped stream.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-