com.ibm.security12.sun.security.x509
Class GeneralSubtree
java.lang.Object
|
+--com.ibm.security12.sun.security.x509.GeneralSubtree
- public class GeneralSubtree
- extends Object
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)
- Version:
- 1.7
- Author:
- Amit Kapoor, Hemma Prafullchandra
GeneralSubtree
public GeneralSubtree(GeneralName name,
int min,
int max)
- The default constructor for the class.
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.
- Overrides:
- toString in class Object
encode
public void encode(DerOutputStream out)
throws IOException
- Encode the GeneralSubtree.