/libcore/luni/src/main/java/java/security/cert/ |
PKIXCertPathBuilderResult.java | 30 private final CertPath certPath; 37 * @param certPath 49 public PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, 52 this.certPath = certPath; 53 if (this.certPath == null) { 54 throw new NullPointerException("certPath == null"); 63 public CertPath getCertPath() [all...] |
CertPathValidatorException.java | 37 private CertPath certPath; 53 * @param certPath 58 * if {@code certPath} is {@code null} and index is not {@code 61 * if {@code certPath} is not {@code null} and index is not 65 CertPath certPath, int index) { 67 // check certPath and index parameters 68 if ((certPath == null) && (index != -1)) { 69 throw new IllegalArgumentException("Index should be -1 when CertPath is null") [all...] |
CertPathValidatorSpi.java | 35 * Validates the {@code CertPath} with the algorithm of this {@code 38 * @param certPath 51 public abstract CertPathValidatorResult engineValidate(CertPath certPath,
|
CertPathValidator.java | 170 * Validates the {@code CertPath} with the algorithm of this {@code 173 * @param certPath 187 public final CertPathValidatorResult validate(CertPath certPath, 190 return spiImpl.engineValidate(certPath, params);
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathValidatorSpiTest.java | 28 import java.security.cert.CertPath; 49 CertPath certPath = null; 51 certPath, params); 54 certPathValid.engineValidate(certPath, params); 59 certPathValid.engineValidate(certPath, params);
|
CertificateFactory3Test.java | 34 import java.security.cert.CertPath; 53 public static String fileCertPathPki = "java/security/cert/CertPath.PkiPath"; 120 * Assertion: returns CertPath with 1 Certificate 132 CertPath certPath = null; 133 certPath = certFs[i].generateCertPath(list); 134 assertEquals(cert.getType(), certPath.getType()); 135 List<? extends Certificate> list1 = certPath.getCertificates(); 138 assertEquals("Incorrect Certificate in CertPath", cert, it.next()); 145 * method Assertion: returns CertPath with 1 Certificat [all...] |
CertPathTest.java | 26 import java.security.cert.CertPath; 36 * Tests for <code>CertPath</code> fields and methods 56 * Test for <code>CertPath(String type)</code> method<br> 61 CertPath cp1 = new MyCertPath(testEncoding); 69 CertPath cp1 = new MyCertPath(null); 80 CertPath cp1 = new MyCertPath(testEncoding); 81 CertPath cp2 = new MyCertPath(testEncoding); 82 CertPath cp3 = new MyCertPath(testEncoding1); 93 CertPath cp1 = new MyCertPath(testEncoding); 94 CertPath cp2 = new MyCertPath(testEncoding) [all...] |
CertPathBuilder1Test.java | 36 import java.security.cert.CertPath; 329 CertPath certPath = result.getCertPath(); 330 assertNotNull("certpath of builder result is null", certPath);
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
MyCertPathValidatorSpi.java | 25 import java.security.cert.CertPath; 39 public CertPathValidatorResult engineValidate(CertPath certPath, 43 if (certPath == null) { 45 throw new CertPathValidatorException("certPath null");
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/exception/ |
ExtCertPathValidatorException.java | 3 import java.security.cert.CertPath; 20 CertPath certPath, int index) 22 super(msg, cause, certPath, index);
|
ExtCertPathBuilderException.java | 3 import java.security.cert.CertPath; 19 CertPath certPath, int index)
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertPathValidatorSpi.java | 26 import java.security.cert.CertPath; 40 public CertPathValidatorResult engineValidate(CertPath certPath, 44 if (certPath == null) { 46 throw new CertPathValidatorException("certPath null");
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertPathValidatorSpiTest.java | 25 import java.security.cert.CertPath; 59 CertPath certPath = null; 61 certPath, params); 64 certPathValid.engineValidate(certPath, params); 69 certPathValid.engineValidate(certPath, params);
|
CertificateFactory3Test.java | 27 import java.security.cert.CertPath; 54 public static String fileCertPathPki = "java/security/cert/CertPath.PkiPath"; 121 * Assertion: returns CertPath with 1 Certificate 133 CertPath certPath = null; 134 certPath = certFs[i].generateCertPath(list); 135 assertEquals(cert.getType(), certPath.getType()); 136 List list1 = certPath.getCertificates(); 139 assertEquals("Incorrect Certificate in CertPath", cert, it.next()); 146 * method Assertion: returns CertPath with 1 Certificat [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/serialization/ |
CertPathTest.java | 25 import java.security.cert.CertPath; 36 * Tests for <code>CertPath</code> serialization 40 //Certificate/CertPath type to be created during testing 43 //Input file name used for <code>CertPath</code> instance generation 44 private static final String certPathFileName = "java/security/cert/CertPath.PkiPath"; 57 CertPath certPath = cf.generateCertPath(Support_Resources 60 SerializationTest.verifySelf(certPath); 70 CertPath certPath = cf.generateCertPath(Support_Resource [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
X509CertPathImplTest.java | 25 import java.security.cert.CertPath; 55 private X509CertPathImpl certPath; 63 certPath = new X509CertPathImpl(certList); 71 certList.size(), certPath.getCertificates().size()); 78 byte[] encoding = certPath.getEncoded(); 89 byte[] encoding = certPath.getEncoded(); 102 byte[] encoding = certPath.getEncoded(); 108 CertPath cert_path = factory.generateCertPath(bais); 129 byte[] encoding = certPath.getEncoded(); 144 certPath.getEncoded() [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
PKIXCertPathValidatorSpi.java | 8 import java.security.cert.CertPath; 103 CertPath certPath, 136 List certs = certPath.getCertificates(); 141 throw new CertPathValidatorException("Certification path is empty.", null, certPath, 0); 154 throw new CertPathValidatorException(e.getMessage(), e, certPath, 0); 181 throw new CertPathValidatorException(e.getMessage(), e, certPath, certs.size() - 1); 186 throw new CertPathValidatorException("Trust anchor for certification path not found.", null, certPath, -1); 288 throw new ExtCertPathValidatorException("Subject of trust anchor could not be (re)encoded.", ex, certPath, 300 "Algorithm identifier of public key of trust anchor could not be read.", e, certPath, -1) [all...] |
RFC3280CertPathUtilities.java | 7 import java.security.cert.CertPath; 860 CertPath certPath, 867 List certs = certPath.getCertificates() [all...] |
PKIXCertPathBuilderSpi.java | 4 import java.security.cert.CertPath; 36 * Build and validate a CertPath using the given parameter. 39 * build the CertPath 180 CertPath certPath = null; 184 certPath = cFact.generateCertPath(tbvPath); 196 certPath, pkixParams); 204 return new PKIXCertPathBuilderResult(certPath, result
|
CertPathValidatorUtilities.java | 9 import java.security.cert.CertPath; [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
PKIXAttrCertChecker.java | 3 import java.security.cert.CertPath; 37 * @param certPath The certificate path which belongs to the attribute 46 public abstract void check(X509AttributeCertificate attrCert, CertPath certPath, 47 CertPath holderCertPath, Collection unresolvedCritExts)
|
/libcore/luni/src/test/java/tests/targets/security/cert/ |
CertPathValidatorTestPKIX.java | 20 import java.security.cert.CertPath; 41 private CertPath certPath; 49 public CertPath getCertPath() { 50 return certPath; 87 certPath = builderResult.getCertPath();
|
/libcore/luni/src/main/java/java/util/jar/ |
JarEntry.java | 22 import java.security.cert.CertPath; 46 // Cached factory used to build CertPath-s in <code>getCodeSigners()</code>. 170 // so transform this one into CertPath ... 196 CertPath certPath = null; 210 certPath = factory.generateCertPath(list); 214 if (certPath != null) { 215 asigners.add(new CodeSigner(certPath, null));
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
TrustManagerImpl.java | 23 import java.security.cert.CertPath; 182 CertPath certPath = factory.generateCertPath(Arrays.asList(newChain)); 185 "Trust anchor for certification path not found.", null, certPath, -1)); 191 validator.validate(certPath, params);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory_ImplTest.java | 28 import java.security.cert.CertPath; [all...] |