Class OEROutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

    public class OEROutputStream
    extends java.io.OutputStream
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.io.PrintWriter debugOutput  
    • Constructor Summary

      Constructors 
      Constructor Description
      OEROutputStream​(java.io.OutputStream out)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static int byteLength​(long value)  
      protected void debugPrint​(java.lang.String what)  
      void write​(int b)  
      void write​(org.bouncycastle.asn1.ASN1Encodable encodable, Element oerElement)  
      void writePlainType​(org.bouncycastle.asn1.ASN1Encodable value, Element e)  
      • Methods inherited from class java.io.OutputStream

        close, flush, nullOutputStream, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • debugOutput

        protected java.io.PrintWriter debugOutput
    • Constructor Detail

      • OEROutputStream

        public OEROutputStream​(java.io.OutputStream out)
    • Method Detail

      • byteLength

        public static int byteLength​(long value)
      • write

        public void write​(org.bouncycastle.asn1.ASN1Encodable encodable,
                          Element oerElement)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • debugPrint

        protected void debugPrint​(java.lang.String what)
      • write

        public void write​(int b)
                   throws java.io.IOException
        Specified by:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • writePlainType

        public void writePlainType​(org.bouncycastle.asn1.ASN1Encodable value,
                                   Element e)
                            throws java.io.IOException
        Throws:
        java.io.IOException