Interface IASN1OutputStream

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
ASN1OutputStreamBC, ASN1OutputStreamBCFips

public interface IASN1OutputStream extends Closeable
This interface represents the wrapper for ASN1OutputStream that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close()
    Delegates close method call to the wrapped stream.
    void
    Calls actual writeObject method for the wrapped ASN1OutputStream object.
  • Method Details

    • writeObject

      void writeObject (IASN1Primitive primitive) throws IOException
      Calls actual writeObject method for the wrapped ASN1OutputStream object.
      Parameters:
      primitive - wrapped ASN1Primitive object.
      Throws:
      IOException - if an I/O error occurs.
    • close

      void close() throws IOException
      Delegates close method call to the wrapped stream.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException