Class ASN1OutputStream

  • Direct Known Subclasses:
    DEROutputStream

    public class ASN1OutputStream
    extends java.lang.Object
    Stream that produces output based on the default encoding for the passed in objects.
    • Constructor Detail

      • ASN1OutputStream

        public ASN1OutputStream​(java.io.OutputStream os)
        Deprecated.
    • Method Detail

      • create

        public static ASN1OutputStream create​(java.io.OutputStream out,
                                              java.lang.String encoding)
      • writeObject

        public void writeObject​(ASN1Encodable obj)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • writeObject

        public void writeObject​(ASN1Primitive primitive)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Throws:
        java.io.IOException