Searched refs:excluded (Results 1 - 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/x509/
H A DNameConstraintsExtension.java42 * The name constraints extension provides permitted and excluded
46 * matching a restriction in the excluded subtrees field is invalid
82 private GeneralSubtrees excluded = null; field in class:NameConstraintsExtension
92 if (excluded != null) {
93 for (int i = 0; i < excluded.size(); i++) {
94 GeneralSubtree subtree = excluded.get(i);
117 if (permitted == null && excluded == null) {
130 if (excluded != null) {
132 excluded.encode(tmp);
146 * @param excluded th
148 NameConstraintsExtension(GeneralSubtrees permitted, GeneralSubtrees excluded) argument
[all...]
H A DGeneralSubtrees.java301 * the list of names that are specifically excluded. The reason
315 * @returns GeneralSubtrees to be merged with excluded; these are
330 // return no new excluded entries
394 // type to excluded.
490 * is used in merging excluded NameConstraints with permitted NameConstraints
494 * @param excluded GeneralSubtrees
496 public void reduce(GeneralSubtrees excluded) { argument
497 if (excluded == null) {
500 for (int i = 0, n = excluded.size(); i < n; i++) {
501 GeneralNameInterface excludedName = excluded
[all...]
/libcore/luni/src/test/java/libcore/java/security/cert/
H A DX509CertSelectorTest.java66 byte[] excluded = { (byte) 192, (byte) 168, 0, 1 };
72 assertTrue(certSelector.match(newCertWithNameConstraint(directMatch, excluded)));
76 assertFalse(certSelector.match(newCertWithNameConstraint(noMatch, excluded)));
80 assertFalse(certSelector.match(newCertWithNameConstraint(subnetWithNoMask, excluded)));
84 assertTrue(certSelector.match(newCertWithNameConstraint(maskedMatch, excluded)));
88 byte[] excluded = {
100 assertTrue(certSelector.match(newCertWithNameConstraint(directMatch, excluded)));
107 assertFalse(certSelector.match(newCertWithNameConstraint(noMatch, excluded)));
114 assertFalse(certSelector.match(newCertWithNameConstraint(subnetWithNoMask, excluded)));
121 assertTrue(certSelector.match(newCertWithNameConstraint(maskedMatch, excluded)));
145 newCertWithNameConstraint(byte[] permitted, byte[] excluded) argument
[all...]
/libcore/json/src/main/java/org/json/
H A DJSONTokener.java332 * a newline character. This does not consume the excluded character.
334 private String nextToInternal(String excluded) { argument
338 if (c == '\r' || c == '\n' || excluded.indexOf(c) != -1) {
531 * <li>any character in {@code excluded}
543 public String nextTo(String excluded) { argument
544 if (excluded == null) {
545 throw new NullPointerException("excluded == null");
547 return nextToInternal(excluded).trim();
551 * Equivalent to {@code nextTo(String.valueOf(excluded))}.
553 public String nextTo(char excluded) { argument
[all...]
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DBuilder.java342 /* reduce permitted by excluded */
345 GeneralSubtrees excluded =
348 permitted.reduce(excluded);
/libcore/ojluni/src/main/java/java/security/cert/
H A DX509CertSelector.java2468 GeneralSubtrees excluded =
2470 if (excluded != null) {
2471 if (matchExcluded(excluded) == false) {
2490 private boolean matchExcluded(GeneralSubtrees excluded) { argument
2492 * Enumerate through excluded and compare each entry
2494 * subtrees listed in excluded, return false.
2496 for (Iterator<GeneralSubtree> t = excluded.iterator(); t.hasNext(); ) {
2509 debug.println("X509CertSelector.match: excluded name: " +

Completed in 2492 milliseconds