Class OEROutputStream

java.lang.Object
org.bouncycastle.oer.OEROutputStream

public class OEROutputStream extends Object
  • Field Details

  • Method Details

    • create

      public static OEROutputStream create(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 IOException
      Throws:
      IOException
    • debugPrint

      protected void debugPrint(String what)
    • byteLength

      public static int byteLength(long value)