Class OEROutputStream


  • public class OEROutputStream
    extends java.lang.Object
    • Field Summary

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static int byteLength​(long value)  
      static OEROutputStream create​(java.io.OutputStream out)
      Creates an output stream filter built on top of the specified underlying output stream.
      protected void debugPrint​(java.lang.String what)  
      void write​(org.bouncycastle.asn1.ASN1Encodable encodable, OERDefinition.Element oerElement)  
      • 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
    • Method Detail

      • create

        public static OEROutputStream create​(java.io.OutputStream out)
        Creates an output stream filter built on top of the specified underlying output stream.
        Parameters:
        out - the underlying output stream to be assigned to the field this.out for later use, or null if this instance is to be created without an underlying stream.
      • write

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

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

        public static int byteLength​(long value)