GeneralSubtree ::= SEQUENCE {
base GeneralName,
minimum [0] BaseDistance DEFAULT 0,
maximum [1] BaseDistance OPTIONAL
}
BaseDistance ::= INTEGER (0..MAX)
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private static final int | |
| private int | |
| private int | |
| private final GeneralName | |
| private static final byte | |
| private static final byte |
| Access | Constructor and Description |
|---|---|
| public | GeneralSubtree(GeneralName
the GeneralName name, int the minimum BaseDistance min, int the maximum BaseDistance max)The default constructor for the class. |
| public | GeneralSubtree(DerValue
the DER encoded from of the same. val)Create the object from its DER encoded form. |
| Modifier and Type | Method and Description |
|---|---|
| public void | encode(DerOutputStream
the DerOutputStream to encode this object to. out)Implements sun. Encode the GeneralSubtree. |
| public boolean | Returns: true if matchGeneralSubtree to compare to this obj)Overrides java. Compare this GeneralSubtree with another |
| public int | |
| public int | Returns: the minimum BaseDistance. Default is 0 if not set.Return the minimum BaseDistance. |
| public GeneralName | |
| public int | Returns: the hash code for this GeneralSubtreeOverrides java. Returns the hash code for this GeneralSubtree. |
| public String |
| maximum | back to summary |
|---|---|
| private int maximum | |
| MIN_DEFAULT | back to summary |
|---|---|
| private static final int MIN_DEFAULT | |
| minimum | back to summary |
|---|---|
| private int minimum | |
| myhash | back to summary |
|---|---|
| private int myhash | |
| name | back to summary |
|---|---|
| private final GeneralName name | |
| TAG_MAX | back to summary |
|---|---|
| private static final byte TAG_MAX | |
| TAG_MIN | back to summary |
|---|---|
| private static final byte TAG_MIN | |
| GeneralSubtree | back to summary |
|---|---|
| public GeneralSubtree(GeneralName name, int min, int max) The default constructor for the class.
| |
| GeneralSubtree | back to summary |
|---|---|
| public GeneralSubtree(DerValue val) throws IOException Create the object from its DER encoded form.
| |
| encode | back to summary |
|---|---|
| public void encode(DerOutputStream out) Implements sun. Encode the GeneralSubtree.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Compare this GeneralSubtree with another | |
| getMaximum | back to summary |
|---|---|
| public int getMaximum() Return the maximum BaseDistance.
| |
| getMinimum | back to summary |
|---|---|
| public int getMinimum() Return the minimum BaseDistance.
| |
| getName | back to summary |
|---|---|
| public GeneralName getName() Return the GeneralName.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns the hash code for this GeneralSubtree.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a printable string of the GeneralSubtree. | |