/dalvik/libcore/security/src/main/java/java/security/cert/ |
H A D | PKIXCertPathBuilderResult.java | 32 private final CertPath certPath; field in class:PKIXCertPathBuilderResult 39 * @param certPath 51 public PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, argument 54 this.certPath = certPath; 55 if (this.certPath == null) { 66 return certPath; 79 sb.append(certPath.toString());
|
H A D | CertPathValidatorException.java | 39 private CertPath certPath; field in class:CertPathValidatorException 55 * @param certPath 60 * if {@code certPath} is {@code null} and index is not {@code 63 * if {@code certPath} is not {@code null} and index is not 67 CertPath certPath, int index) { 69 // check certPath and index parameters 70 if ((certPath == null) && (index != -1)) { 74 if ((certPath != null) 75 && ((index < -1) || (index >= certPath.getCertificates().size()))) { 78 this.certPath 66 CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index) argument [all...] |
H A D | CertPathValidatorSpi.java | 38 * @param certPath 51 public abstract CertPathValidatorResult engineValidate(CertPath certPath, argument
|
H A D | CertPathValidator.java | 185 * @param certPath 199 public final CertPathValidatorResult validate(CertPath certPath, argument 202 return spiImpl.engineValidate(certPath, params);
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/ |
H A D | CertPathReviewerException.java | 13 private CertPath certPath = null; field in class:CertPathReviewerException 28 CertPath certPath, 32 if (certPath == null || index == -1) 36 if (index < -1 || (certPath != null && index >= certPath.getCertificates().size())) 40 this.certPath = certPath; 46 CertPath certPath, 50 if (certPath == null || index == -1) 54 if (index < -1 || (certPath ! 25 CertPathReviewerException( ErrorBundle errorMessage, Throwable throwable, CertPath certPath, int index) argument 44 CertPathReviewerException( ErrorBundle errorMessage, CertPath certPath, int index) argument [all...] |
H A D | PKIXCertPathReviewer.java | 88 protected CertPath certPath; field in class:PKIXCertPathReviewer 111 * @param certPath the {@link CertPath} to validate 113 * @throws CertPathReviewerException if the certPath is empty 115 public PKIXCertPathReviewer(CertPath certPath, PKIXParameters params) argument 119 if (certPath == null) 121 throw new NullPointerException("certPath was null"); 123 this.certPath = certPath; 125 certs = certPath.getCertificates(); 165 return certPath; [all...] |
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
H A D | MyCertPathValidatorSpi.java | 40 public CertPathValidatorResult engineValidate(CertPath certPath, argument 44 if (certPath == null) { 46 throw new CertPathValidatorException("certPath null");
|
/dalvik/libcore/security/src/test/java/tests/security/cert/ |
H A D | CertPathValidatorSpiTest.java | 69 CertPath certPath = null; 71 certPath, params); 74 certPathValid.engineValidate(certPath, params); 79 certPathValid.engineValidate(certPath, params);
|
H A D | CertificateFactory3Test.java | 155 CertPath certPath = null; 156 certPath = certFs[i].generateCertPath(list); 157 assertEquals(cert.getType(), certPath.getType()); 158 List<? extends Certificate> list1 = certPath.getCertificates(); 180 CertPath certPath = null; 183 certPath = certFs[i].generateCertPath(fis, "PkiPath"); 185 assertEquals(defaultType, certPath.getType()); 187 List<? extends Certificate> list1 = certPath.getCertificates(); 214 CertPath certPath = null; 217 certPath [all...] |
H A D | CertPathTest.java | 349 CertPath certPath = TestUtils.buildCertPathSSCertChain(); 351 SerializationTest.verifySelf(certPath); 381 CertPath certPath = TestUtils.buildCertPathSSCertChain(); 383 SerializationTest.verifyGolden(this, certPath);
|
H A D | CertPathBuilder1Test.java | 405 CertPath certPath = result.getCertPath(); 406 assertNotNull("certpath of builder result is null", certPath);
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | TrustManagerImpl.java | 123 CertPath certPath = factory.generateCertPath(Arrays.asList(chain)); 125 ((X509Certificate)certPath.getCertificates().get(0)) 130 validator.validate(certPath, params); 156 CertPath certPath = factory.generateCertPath( 159 certPath.getCertificates().get(0).getEncoded())) { 164 validator.validate(certPath, params);
|
/dalvik/libcore/security/src/test/java/org/bouncycastle/jce/provider/ |
H A D | PKIXCertPathValidatorSpiTest.java | 49 X509CertPathImpl certPath = new X509CertPathImpl(Arrays.asList( 62 new PKIXCertPathValidatorSpi().engineValidate(certPath, indexedPKIXParameters);
|
/dalvik/libcore/security/src/test/java/tests/targets/security/cert/ |
H A D | CertPathValidatorTestPKIX.java | 43 private CertPath certPath; field in class:CertPathValidatorTestPKIX 52 return certPath; 89 certPath = builderResult.getCertPath();
|
/dalvik/libcore/archive/src/main/java/java/util/jar/ |
H A D | JarEntry.java | 197 CertPath certPath = null; 211 certPath = factory.generateCertPath(list); 215 if (null != certPath) { 216 asigners.add(new CodeSigner(certPath, null));
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
H A D | PKIXCertPathBuilderSpi.java | 48 CertPath certPath = null; 102 certPath = cFact.generateCertPath(certPathList); 104 PKIXCertPathValidatorResult result = (PKIXCertPathValidatorResult)validator.validate(certPath, pkixParams); 106 return new PKIXCertPathBuilderResult(certPath, 147 if (certPath != null)
|
H A D | PKIXCertPathValidatorSpi.java | 157 CertPath certPath, 179 List certs = certPath.getCertificates(); 184 throw new CertPathValidatorException("CertPath is empty", null, certPath, 0); 197 throw new CertPathValidatorException(e.getMessage(), e, certPath, 0); 220 certPath, certs.size() - 1, paramsPKIX); 225 throw new CertPathValidatorException("TrustAnchor for CertPath not found.", null, certPath, -1); 367 throw new CertPathValidatorException("target certificate in certpath does not match targetcertconstraints", null, certPath, 0); 391 throw new CertPathValidatorException(e.getMessage(), e, certPath, index); 427 throw new CertPathValidatorException("Could not validate certificate signature.", e, certPath, index); 438 throw new CertPathValidatorException("Could not validate certificate: " + e.getMessage(), e, certPath, inde 156 engineValidate( CertPath certPath, CertPathParameters params) argument [all...] |
H A D | IndexedPKIXParameters.java | 78 TrustAnchor findTrustAnchor(X509Certificate cert, CertPath certPath, argument 121 verificationException, certPath, index);
|
H A D | CertPathValidatorUtilities.java | 99 CertPath certPath, 106 return indexed.findTrustAnchor(cert, certPath, index); 200 throw new CertPathValidatorException("TrustAnchor found but certificate validation failed.", invalidKeyEx, certPath, index); 97 findTrustAnchor( X509Certificate cert, CertPath certPath, int index, PKIXParameters params) argument
|