Home
last modified time | relevance | path

Searched refs:checker (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/security/cert/
DPKIXRevocationCheckerTest.java31 PKIXRevocationChecker checker; field in PKIXRevocationCheckerTest
45 checker = (PKIXRevocationChecker) rc; in setUp()
55 assertEquals(0, checker.getOcspResponses().size()); in test_Initializes()
56 assertEquals(0, checker.getOcspExtensions().size()); in test_Initializes()
57 assertEquals(0, checker.getOptions().size()); in test_Initializes()
58 assertEquals(0, checker.getSoftFailExceptions().size()); in test_Initializes()
59 assertNull(checker.getSupportedExtensions()); in test_Initializes()
60 assertNull(checker.getOcspResponderCert()); in test_Initializes()
61 assertNull(checker.getOcspResponder()); in test_Initializes()
69 checker.setOcspResponses(ocspResponses); in test_CanSetOCSPResponse()
[all …]
DCertPathValidatorTest.java98 for (PKIXCertPathChecker checker : params.getCertPathCheckers()) { in runOCSPStapledTest()
99 assertFalse(checker instanceof PKIXRevocationChecker); in runOCSPStapledTest()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DForwardState.java146 for (PKIXCertPathChecker checker : certPathCheckers) { in initState()
147 if (checker.isForwardCheckingSupported()) { in initState()
148 checker.init(true); in initState()
149 forwardCheckers.add(checker); in initState()
242 PKIXCertPathChecker checker = li.next(); in clone() local
243 if (checker instanceof Cloneable) { in clone()
244 li.set((PKIXCertPathChecker)checker.clone()); in clone()
DPKIXCertPathValidator.java201 for (PKIXCertPathChecker checker : checkers) { in validate()
202 if (checker instanceof PKIXRevocationChecker) { in validate()
209 if (checker instanceof RevocationChecker) { in validate()
210 ((RevocationChecker)checker).init(anchor, params); in validate()
DForwardBuilder.java741 for (PKIXCertPathChecker checker : currState.forwardCheckers) { in verifyCert()
742 checker.check(cert, unresCritExts); in verifyCert()
751 for (PKIXCertPathChecker checker : buildParams.certPathCheckers()) { in verifyCert()
752 if (!checker.isForwardCheckingSupported()) { in verifyCert()
753 Set<String> supportedExts = checker.getSupportedExtensions(); in verifyCert()
DSunCertPathBuilder.java450 for (PKIXCertPathChecker checker : in depthFirstSearchForward()
453 if (checker.isForwardCheckingSupported()) { in depthFirstSearchForward()
455 checker.getSupportedExtensions(); in depthFirstSearchForward()
/libcore/ojluni/src/main/java/java/security/cert/
DPKIXParameters.java549 for (PKIXCertPathChecker checker : checkers) { in setCertPathCheckers()
550 tmpList.add((PKIXCertPathChecker)checker.clone()); in setCertPathCheckers()
588 public void addCertPathChecker(PKIXCertPathChecker checker) { in addCertPathChecker() argument
589 if (checker != null) { in addCertPathChecker()
590 certPathCheckers.add((PKIXCertPathChecker)checker.clone()); in addCertPathChecker()
675 for (PKIXCertPathChecker checker : certPathCheckers) { in clone()
677 (PKIXCertPathChecker)checker.clone()); in clone()
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java109 Consumer<Throwable> checker) { in checkCompletedExceptionally() argument
115 checker.accept(cause); in checkCompletedExceptionally()