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)
 


Constructor Index

 o GeneralSubtree(DerValue)
Create the object from its DER encoded form.
 o GeneralSubtree(GeneralName, int, int)
The default constructor for the class.

Method Index

 o encode(DerOutputStream)
Encode the GeneralSubtree.
 o toString()
Return a printable string of the GeneralSubtree.

Constructors

 o 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
 o GeneralSubtree
 public GeneralSubtree(DerValue val) throws IOException
Create the object from its DER encoded form.

Parameters:
val - the DER encoded from of the same.

Methods

 o toString
 public String toString()
Return a printable string of the GeneralSubtree.

 o 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