The ASN.1 for this is
GeneralSubtrees ::= SEQUENCE SIZE (1..MAX) OF GeneralSubtree
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | |
| private | |
| public | GeneralSubtrees(DerValue
the DER encoded form of the same. val)Create the object from the passed DER encoded form. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object | |
| public boolean | |
| private GeneralSubtree | Returns: GeneralSubtree containing widest name of that typeGeneralNameInterface name name)create a subtree containing an instance of the input name type that widens all other names of that type. |
| public void | encode(DerOutputStream
the DerOutputStream to encode this object to. out)Implements sun. Encode the GeneralSubtrees. |
| public boolean | Returns: true if matchGeneralSubtrees to compare to this obj)Overrides java. Compare two general subtrees by comparing the subtrees of each. |
| public GeneralSubtree | |
| private GeneralNameInterface | getGeneralNameInterface(int
index of the GeneralSubtree from which to obtain the name ndx)Return the GeneralNameInterface form of the GeneralName in one of the GeneralSubtrees. |
| private static GeneralNameInterface | |
| public int | |
| public GeneralSubtrees | Returns: GeneralSubtrees to be merged with excluded; these are empty-valued name types corresponding to entries that were of the same type but did not share the same subtree between this and other. Returns null if no such.GeneralSubtrees to be intersected with this other)intersect this GeneralSubtrees with other. |
| public Iterator | |
| private void | |
| public void | |
| public void | |
| public int | |
| public String | |
| public List | |
| public void | union(GeneralSubtrees
GeneralSubtrees to be united with this other)construct union of this GeneralSubtrees with other. |
| NAME_DIFF_TYPE | back to summary |
|---|---|
| private static final int NAME_DIFF_TYPE | |
| NAME_MATCH | back to summary |
|---|---|
| private static final int NAME_MATCH | |
| NAME_NARROWS | back to summary |
|---|---|
| private static final int NAME_NARROWS | |
| NAME_SAME_TYPE | back to summary |
|---|---|
| private static final int NAME_SAME_TYPE | |
| NAME_WIDENS | back to summary |
|---|---|
| private static final int NAME_WIDENS | |
| trees | back to summary |
|---|---|
| private final List<GeneralSubtree> trees | |
| GeneralSubtrees | back to summary |
|---|---|
| public GeneralSubtrees() The default constructor for the class. | |
| GeneralSubtrees | back to summary |
|---|---|
| private GeneralSubtrees(GeneralSubtrees source) | |
| GeneralSubtrees | back to summary |
|---|---|
| public GeneralSubtrees(DerValue val) throws IOException Create the object from the passed DER encoded form.
| |
| add | back to summary |
|---|---|
| public void add(GeneralSubtree tree) | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by | |
| contains | back to summary |
|---|---|
| public boolean contains(GeneralSubtree tree) | |
| createWidestSubtree | back to summary |
|---|---|
| private GeneralSubtree createWidestSubtree(GeneralNameInterface name) create a subtree containing an instance of the input name type that widens all other names of that type.
| |
| encode | back to summary |
|---|---|
| public void encode(DerOutputStream out) Implements sun. Encode the GeneralSubtrees.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Compare two general subtrees by comparing the subtrees of each.
| |
| get | back to summary |
|---|---|
| public GeneralSubtree get(int index) | |
| getGeneralNameInterface | back to summary |
|---|---|
| private GeneralNameInterface getGeneralNameInterface(int ndx) Return the GeneralNameInterface form of the GeneralName in one of the GeneralSubtrees.
| |
| getGeneralNameInterface | back to summary |
|---|---|
| private static GeneralNameInterface getGeneralNameInterface(GeneralSubtree gs) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| intersect | back to summary |
|---|---|
| public GeneralSubtrees intersect(GeneralSubtrees other) intersect this GeneralSubtrees with other. This function is used in merging permitted NameConstraints. The operation is performed as follows:
| |
| iterator | back to summary |
|---|---|
| public Iterator | |
| minimize | back to summary |
|---|---|
| private void minimize() minimize this GeneralSubtrees by removing all redundant entries. Internal method used by intersect and reduce. | |
| reduce | back to summary |
|---|---|
| public void reduce(GeneralSubtrees excluded) reduce this GeneralSubtrees by contents of another. This function is used in merging excluded NameConstraints with permitted NameConstraints to obtain a minimal form of permitted NameConstraints. It is an optimization, and does not affect correctness of the results.
| |
| remove | back to summary |
|---|---|
| public void remove(int index) | |
| size | back to summary |
|---|---|
| public int size() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a printable string of the GeneralSubtree. | |
| trees | back to summary |
|---|---|
| public List | |
| union | back to summary |
|---|---|
| public void union(GeneralSubtrees other) construct union of this GeneralSubtrees with other.
| |