Lines Matching refs:permitted
45 * The name constraints extension provides permitted and excluded
50 * regardless of information appearing in the permitted subtrees.
84 private GeneralSubtrees permitted = null;
105 if (permitted != null) {
106 for (int i = 0; i < permitted.size(); i++) {
107 GeneralSubtree subtree = permitted.get(i);
120 if (permitted == null && excluded == null) {
127 if (permitted != null) {
129 permitted.encode(tmp);
148 * @param permitted the permitted GeneralSubtrees (null for optional).
151 public NameConstraintsExtension(GeneralSubtrees permitted,
154 this.permitted = permitted;
194 if (permitted != null) {
195 throw new IOException("Duplicate permitted " +
199 permitted = new GeneralSubtrees(opt);
221 ((permitted == null) ? "" :
222 ("\n Permitted:" + permitted.toString())) +
254 permitted = (GeneralSubtrees)obj;
273 return (permitted);
287 permitted = null;
372 if (permitted == null) {
373 permitted = (newPermitted != null) ?
377 // Merge new permitted with current permitted (intersection)
378 newExcluded = permitted.intersect(newPermitted);
391 // Optional optimization: remove permitted subtrees that are excluded.
395 if (permitted != null) {
396 permitted.reduce(excluded);
408 * extension (critical or noncritical) is consistent with the permitted
489 * permitted and excluded subtrees variables.
528 // Verify that the name is consistent with the permitted subtrees
529 if (permitted != null && permitted.size() > 0) {
533 for (int i = 0; i < permitted.size(); i++) {
534 GeneralSubtree gs = permitted.get(i);
544 // if Name matches any type in permitted,
545 // and Name does not match or narrow some permitted subtree,
549 continue; // continue checking other permitted names
550 case GeneralNameInterface.NAME_WIDENS: // name widens permitted
556 // name narrows permitted
607 if (permitted != null) {
608 newNCE.permitted = (GeneralSubtrees) permitted.clone();