| java.lang.Object sun.security.x509.GeneralSubtree
GeneralSubtree | public class GeneralSubtree (Code) | | 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.9 author: Amit Kapoor author: Hemma Prafullchandra |
GeneralSubtree | public GeneralSubtree(GeneralName name, int min, int max)(Code) | | The default constructor for the class.
|
GeneralSubtree | public GeneralSubtree(DerValue val) throws IOException(Code) | | Create the object from its DER encoded form.
Parameters: val - the DER encoded from of the same. |
equals | public boolean equals(Object other)(Code) | | Compare this GeneralSubtree with another
Parameters: other - GeneralSubtree to compare to this |
getMaximum | public int getMaximum()(Code) | | Return the maximum BaseDistance.
the maximum BaseDistance, or -1 if not set. |
getMinimum | public int getMinimum()(Code) | | Return the minimum BaseDistance.
the minimum BaseDistance. Default is 0 if not set. |
toString | public String toString()(Code) | | Return a printable string of the GeneralSubtree.
|
|
|