Package netscape.security.x509
Class GeneralSubtrees
- java.lang.Object
-
- netscape.security.x509.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 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 void
encode(DerOutputStream out)
Encode the GeneralSubtrees.java.util.Vector<GeneralSubtree>
getSubtrees()
java.lang.String
toPrint(int indent)
java.lang.String
toString()
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:
toString
in 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()
-
-