Class GeneralSubtrees

  • All Implemented Interfaces:
    java.io.Serializable

    public class GeneralSubtrees
    extends java.lang.Object
    implements java.io.Serializable
    Represent the GeneralSubtrees ASN.1 object.
    Version:
    1.4
    Author:
    Amit Kapoor, Hemma Prafullchandra
    See Also:
    Serialized Form
    • Constructor Detail

      • GeneralSubtrees

        public GeneralSubtrees​(java.util.Vector<GeneralSubtree> trees)
        The default constructor for the class.
        Parameters:
        trees - the sequence of GeneralSubtree.
      • GeneralSubtrees

        public GeneralSubtrees​(DerValue val)
                        throws java.io.IOException
        Create the object from the passed DER encoded form.
        Parameters:
        val - the DER encoded form of the same.
        Throws:
        java.io.IOException
    • Method Detail

      • toString

        public java.lang.String toString()
        Return a printable string of the GeneralSubtree.
        Overrides:
        toString in class java.lang.Object
      • toPrint

        public java.lang.String toPrint​(int indent)
      • encode

        public void encode​(DerOutputStream out)
                    throws java.io.IOException
        Encode the GeneralSubtrees.
        Parameters:
        out - the DerOutputStrean to encode this object to.
        Throws:
        java.io.IOException