Interface IASN1OutputStream
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- All Known Implementing Classes:
ASN1OutputStreamBC
public interface IASN1OutputStream extends java.io.Closeable
This interface represents the wrapper for ASN1OutputStream 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 void
close()
Delegatesclose
method call to the wrapped stream.void
writeObject(IASN1Primitive primitive)
Calls actualwriteObject
method for the wrapped ASN1OutputStream object.
-
-
-
Method Detail
-
writeObject
void writeObject(IASN1Primitive primitive) throws java.io.IOException
Calls actualwriteObject
method for the wrapped ASN1OutputStream object.- Parameters:
primitive
- wrapped ASN1Primitive object.- Throws:
java.io.IOException
- if an I/O error occurs.
-
close
void close() throws java.io.IOException
Delegatesclose
method call to the wrapped stream.- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-