Home
last modified time | relevance | path

Searched refs:CertPathValidatorException (Results 1 – 25 of 34) sorted by relevance

12

/libcore/luni/src/test/java/tests/security/cert/
DCertPathValidatorExceptionTest.java31 import java.security.cert.CertPathValidatorException;
32 import java.security.cert.CertPathValidatorException.BasicReason;
60 CertPathValidatorException tE = new CertPathValidatorException(); in testCertPathValidatorException01()
71 CertPathValidatorException tE; in testCertPathValidatorException02()
73 tE = new CertPathValidatorException(msgs[i]); in testCertPathValidatorException02()
87 CertPathValidatorException tE = new CertPathValidatorException(msg); in testCertPathValidatorException03()
99 CertPathValidatorException tE = new CertPathValidatorException(cause); in testCertPathValidatorException04()
110 CertPathValidatorException tE = new CertPathValidatorException(tCause); in testCertPathValidatorException05()
128 CertPathValidatorException tE = new CertPathValidatorException(null, in testCertPathValidatorException06()
140 CertPathValidatorException tE; in testCertPathValidatorException07()
[all …]
DCertPathValidator2Test.java39 import java.security.cert.CertPathValidatorException;
80 private void checkResult(CertPathValidator certV) throws CertPathValidatorException, in checkResult()
94 } catch (CertPathValidatorException e) { in checkResult()
109 InvalidAlgorithmParameterException, CertPathValidatorException { in testGetInstance01()
143 CertPathValidatorException { in testGetInstance02()
200 InvalidAlgorithmParameterException, CertPathValidatorException { in testGetInstance03()
241 } catch (CertPathValidatorException e) { in testValidate()
249 } catch (CertPathValidatorException e) { in testValidate()
257 } catch (CertPathValidatorException e) { in testValidate()
DPKIXCertPathCheckerTest.java27 import java.security.cert.CertPathValidatorException;
69 throws CertPathValidatorException { in testInit()
77 public final void testCheck_Cert_Collection() throws CertPathValidatorException { in testCheck_Cert_Collection()
82 public final void testCheck_Cert() throws CertPathValidatorException { in testCheck_Cert()
DCertPathValidator3Test.java39 import java.security.cert.CertPathValidatorException;
89 …blic void testValidate01() throws InvalidAlgorithmParameterException, CertPathValidatorException { in testValidate01()
DCertPathValidator1Test.java34 import java.security.cert.CertPathValidatorException;
327 throws NoSuchAlgorithmException, NoSuchProviderException, CertPathValidatorException { in testCertPathValidator11()
357 CertPathValidatorException, InvalidAlgorithmParameterException { in testCertPathValidator12()
371 } catch (CertPathValidatorException e) { in testCertPathValidator12()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DBasicChecker.java39 import java.security.cert.CertPathValidatorException;
40 import java.security.cert.CertPathValidatorException.BasicReason;
101 public void init(boolean forward) throws CertPathValidatorException { in init()
108 throw new CertPathValidatorException("Key parameters missing"); in init()
113 CertPathValidatorException("forward checking not supported"); in init()
139 throws CertPathValidatorException in check()
159 throws CertPathValidatorException in verifySignature()
172 throw new CertPathValidatorException in verifySignature()
176 throw new CertPathValidatorException(msg + " check failed", e); in verifySignature()
187 throws CertPathValidatorException in verifyTimestamp()
[all …]
DRevocationChecker.java38 import java.security.cert.CertPathValidatorException.BasicReason;
66 private LinkedList<CertPathValidatorException> softFailExceptions =
93 throws CertPathValidatorException in RevocationChecker()
100 throws CertPathValidatorException in init()
119 throw new CertPathValidatorException( in init()
167 throws CertPathValidatorException in toURI()
175 throw new CertPathValidatorException( in toURI()
210 throws CertPathValidatorException
218 throw new CertPathValidatorException(
228 throws CertPathValidatorException
[all …]
DConstraintsChecker.java31 import java.security.cert.CertPathValidatorException;
76 public void init(boolean forward) throws CertPathValidatorException { in init()
82 throw new CertPathValidatorException in init()
115 throws CertPathValidatorException in check()
135 throws CertPathValidatorException in verifyNameConstraints()
154 throw new CertPathValidatorException(msg + " check failed", in verifyNameConstraints()
158 throw new CertPathValidatorException(ioe); in verifyNameConstraints()
174 throws CertPathValidatorException in mergeNameConstraints()
180 throw new CertPathValidatorException(ce); in mergeNameConstraints()
210 throw new CertPathValidatorException(ioe); in mergeNameConstraints()
[all …]
DAlgorithmChecker.java46 import java.security.cert.CertPathValidatorException;
47 import java.security.cert.CertPathValidatorException.BasicReason;
176 public void init(boolean forward) throws CertPathValidatorException { in init()
186 CertPathValidatorException("forward checking not supported"); in init()
205 throws CertPathValidatorException { in check()
215 throw new CertPathValidatorException( in check()
250 throw new CertPathValidatorException( in check()
277 throw new CertPathValidatorException(ce); in check()
290 throw new CertPathValidatorException( in check()
297 throw new CertPathValidatorException( in check()
[all …]
DKeyChecker.java71 public void init(boolean forward) throws CertPathValidatorException { in init()
75 throw new CertPathValidatorException in init()
107 throws CertPathValidatorException in check()
117 throw new CertPathValidatorException("target certificate " + in check()
142 throws CertPathValidatorException { in verifyCAKeyUsage()
159 throw new CertPathValidatorException in verifyCAKeyUsage()
DOCSP.java34 import java.security.cert.CertPathValidatorException;
35 import java.security.cert.CertPathValidatorException.BasicReason;
116 throws IOException, CertPathValidatorException { in check()
123 throw new CertPathValidatorException in check()
128 throw new CertPathValidatorException in check()
157 throws IOException, CertPathValidatorException in check()
169 throws IOException, CertPathValidatorException in check()
176 throw new CertPathValidatorException in check()
203 throws IOException, CertPathValidatorException in check()
211 throw new CertPathValidatorException in check()
[all …]
DPolicyChecker.java32 import java.security.cert.CertPathValidatorException;
119 public void init(boolean forward) throws CertPathValidatorException { in init()
121 throw new CertPathValidatorException in init()
177 throws CertPathValidatorException in check()
198 throws CertPathValidatorException in checkPolicy()
220 throw new CertPathValidatorException(ce); in checkPolicy()
268 boolean finalCert) throws CertPathValidatorException in mergeExplicitPolicy()
301 throw new CertPathValidatorException(e); in mergeExplicitPolicy()
321 throws CertPathValidatorException in mergePolicyMapping()
350 throw new CertPathValidatorException(e); in mergePolicyMapping()
[all …]
DPKIXCertPathValidator.java76 throws CertPathValidatorException, InvalidAlgorithmParameterException in engineValidate()
83 throws CertPathValidatorException in validate()
110 CertPathValidatorException lastException = null; in validate()
141 } catch (CertPathValidatorException cpe) { in validate()
153 throw new CertPathValidatorException in validate()
160 throws CertPathValidatorException in validate()
204 throw new CertPathValidatorException( in validate()
DPKIXMasterCertPathValidator.java35 import java.security.cert.CertPathValidatorException;
67 throws CertPathValidatorException in validate()
132 } catch (CertPathValidatorException cpve) { in validate()
133 throw new CertPathValidatorException(cpve.getMessage(), in validate()
140 throw new CertPathValidatorException("unrecognized " + in validate()
DOCSPResponse.java32 import java.security.cert.CertPathValidatorException;
33 import java.security.cert.CertPathValidatorException.BasicReason;
392 throws CertPathValidatorException in verify()
399 throw new CertPathValidatorException( in verify()
404 throw new CertPathValidatorException("OCSP response error: " + in verify()
416 throw new CertPathValidatorException( in verify()
436 throw new CertPathValidatorException( in verify()
503 throw new CertPathValidatorException( in verify()
509 throw new CertPathValidatorException( in verify()
529 throw new CertPathValidatorException( in verify()
[all …]
DState.java31 import java.security.cert.CertPathValidatorException;
51 throws CertificateException, IOException, CertPathValidatorException; in updateState()
DForwardState.java30 import java.security.cert.CertPathValidatorException;
136 throws CertPathValidatorException in initState()
163 throws CertificateException, IOException, CertPathValidatorException { in updateState()
214 throw new CertPathValidatorException(e); in updateState()
/libcore/ojluni/src/main/java/java/security/cert/
DCertPathValidatorException.java62 public class CertPathValidatorException extends GeneralSecurityException { class
87 public CertPathValidatorException() { in CertPathValidatorException() method in CertPathValidatorException
98 public CertPathValidatorException(String msg) { in CertPathValidatorException() method in CertPathValidatorException
115 public CertPathValidatorException(Throwable cause) { in CertPathValidatorException() method in CertPathValidatorException
128 public CertPathValidatorException(String msg, Throwable cause) { in CertPathValidatorException() method in CertPathValidatorException
149 public CertPathValidatorException(String msg, Throwable cause, in CertPathValidatorException() method in CertPathValidatorException
175 public CertPathValidatorException(String msg, Throwable cause, in CertPathValidatorException() method in CertPathValidatorException
DPKIXCertPathChecker.java117 throws CertPathValidatorException; in init()
166 throws CertPathValidatorException; in check()
175 public void check(Certificate cert) throws CertPathValidatorException { in check()
DCertPathChecker.java54 void init(boolean forward) throws CertPathValidatorException; in init()
76 void check(Certificate cert) throws CertPathValidatorException; in check()
DPKIXReason.java36 public enum PKIXReason implements CertPathValidatorException.Reason {
DCertPathValidatorSpi.java84 throws CertPathValidatorException, InvalidAlgorithmParameterException; in engineValidate()
/libcore/ojluni/src/main/java/sun/security/util/
DDisabledAlgorithmConstraints.java31 import java.security.cert.CertPathValidatorException;
32 import java.security.cert.CertPathValidatorException.BasicReason;
139 CertConstraintParameters cp) throws CertPathValidatorException { in permits()
148 X509Certificate cert) throws CertPathValidatorException { in permits()
193 CertConstraintParameters cp) throws CertPathValidatorException { in checkConstraints()
200 throw new CertPathValidatorException( in checkConstraints()
208 throw new CertPathValidatorException( in checkConstraints()
345 throws CertPathValidatorException { in permits()
426 throws CertPathValidatorException; in permits()
444 throws CertPathValidatorException { in permits()
[all …]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertPathValidatorSpi.java28 import java.security.cert.CertPathValidatorException;
41 CertPathParameters params) throws CertPathValidatorException, in engineValidate()
46 throw new CertPathValidatorException("certPath null"); in engineValidate()
DTestUtils.java37 import java.security.cert.CertPathValidatorException;
207 throws CertPathValidatorException { in getTestCertPathChecker()
215 public void init(boolean arg0) throws CertPathValidatorException { in getTestCertPathChecker()

12