All Packages Class Hierarchy This Package Previous Next Index
Class netscape.security.x509.GeneralSubtree
netscape.security.x509.GeneralSubtree
- public class GeneralSubtree
Represent the GeneralSubtree ASN.1 object, whose syntax is:
GeneralSubtree ::= SEQUENCE {
base GeneralName,
minimum [0] BaseDistance DEFAULT 0,
maximum [1] BaseDistance OPTIONAL
}
BaseDistance ::= INTEGER (0..MAX)
-
GeneralSubtree(DerValue)
- Create the object from its DER encoded form.
-
GeneralSubtree(GeneralName, int, int)
- The default constructor for the class.
-
encode(DerOutputStream)
- Encode the GeneralSubtree.
-
toString()
- Return a printable string of the GeneralSubtree.
GeneralSubtree
public GeneralSubtree(GeneralName name,
int min,
int max)
- The default constructor for the class.
- Parameters:
- s - name the GeneralName
- s - min the minimum BaseDistance
- s - max the maximum BaseDistance
GeneralSubtree
public GeneralSubtree(DerValue val) throws IOException
- Create the object from its DER encoded form.
- Parameters:
- val - the DER encoded from of the same.
toString
public String toString()
- Return a printable string of the GeneralSubtree.
encode
public void encode(DerOutputStream out) throws IOException
- Encode the GeneralSubtree.
- Parameters:
- s - out the DerOutputStream to encode this object to.
All Packages Class Hierarchy This Package Previous Next Index