Class ASN1Generator

  • Direct Known Subclasses:
    BERGenerator, DERGenerator

    public abstract class ASN1Generator
    extends java.lang.Object
    Basic class for streaming generators.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.io.OutputStream _out  
    • Constructor Summary

      Constructors 
      Constructor Description
      ASN1Generator​(java.io.OutputStream out)
      Base constructor.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract java.io.OutputStream getRawOutputStream()
      Return the actual stream object encodings are written to.
      • Methods inherited from class java.lang.Object

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

      • _out

        protected java.io.OutputStream _out
    • Constructor Detail

      • ASN1Generator

        public ASN1Generator​(java.io.OutputStream out)
        Base constructor.
        Parameters:
        out - the end output stream that object encodings are written to.
    • Method Detail

      • getRawOutputStream

        public abstract java.io.OutputStream getRawOutputStream()
        Return the actual stream object encodings are written to.
        Returns:
        the stream that is directly encoded to.