Class GeneralSubtrees
- java.lang.Object
-
- org.mozilla.jss.netscape.security.x509.GeneralSubtrees
-
- All Implemented Interfaces:
java.io.Serializable
public class GeneralSubtrees extends java.lang.Object implements java.io.SerializableRepresent the GeneralSubtrees ASN.1 object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GeneralSubtrees(java.util.Vector<GeneralSubtree> trees)The default constructor for the class.GeneralSubtrees(DerValue val)Create the object from the passed DER encoded form.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(DerOutputStream out)Encode the GeneralSubtrees.java.util.Vector<GeneralSubtree>getSubtrees()java.lang.StringtoPrint(int indent)java.lang.StringtoString()Return a printable string of the GeneralSubtree.
-
-
-
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:
toStringin classjava.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
-
getSubtrees
public java.util.Vector<GeneralSubtree> getSubtrees()
-
-