HomeSort by relevance Sort by last modified time
    Searched defs:certPath (Results 1 - 25 of 37) sorted by null

1 2

  /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 if (certPath == null) {
53 throw new NullPointerException("certPath == null");
55 this.certPath = certPath;
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...]
  /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...]
CertPathBuilder1Test.java 36 import java.security.cert.CertPath;
329 CertPath certPath = result.getCertPath();
330 assertNotNull("certpath of builder result is null", certPath);
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...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
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...]
CertPathValidatorSpiTest.java 25 import java.security.cert.CertPath;
58 CertPath certPath = null;
60 certPath, params);
63 certPathValid.engineValidate(certPath, params);
68 certPathValid.engineValidate(certPath, params);
  /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...]
  /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>.
167 * None of the certificates in the the {@link CertPath} returned from
219 CertPath certPath = null;
233 certPath = factory.generateCertPath(Arrays.asList(certs));
237 if (certPath != null) {
238 asigners.add(new CodeSigner(certPath, null));
  /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;
86 certPath = builderResult.getCertPath();
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
PKIXCertPathBuilderSpi.java 4 import java.security.cert.CertPath;
39 * Build and validate a CertPath using the given parameter.
42 * build the CertPath
198 CertPath certPath = null;
202 certPath = cFact.engineGenerateCertPath(tbvPath);
214 certPath, pkixParams);
222 return new PKIXCertPathBuilderResult(certPath, result
PKIXCertPathValidatorSpi.java 8 import java.security.cert.CertPath;
54 CertPath certPath,
110 List certs = certPath.getCertificates();
115 throw new CertPathValidatorException("Certification path is empty.", null, certPath, 0);
128 throw new CertPathValidatorException(e.getMessage(), e, certPath, 0);
155 throw new CertPathValidatorException(e.getMessage(), e, certPath, certs.size() - 1);
160 throw new CertPathValidatorException("Trust anchor for certification path not found.", null, certPath, -1);
265 throw new ExtCertPathValidatorException("Subject of trust anchor could not be (re)encoded.", ex, certPath,
277 "Algorithm identifier of public key of trust anchor could not be read.", e, certPath, -1)
    [all...]
RFC3280CertPathUtilities.java 7 import java.security.cert.CertPath;
541 throw new AnnotatedException("CertPath for CRL signer failed to validate.", e);
    [all...]
  /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...]
  /external/conscrypt/src/platform/java/org/conscrypt/
TrustManagerImpl.java 24 import java.security.cert.CertPath;
297 CertPath certPath = factory.generateCertPath(Arrays.asList(newChain));
308 "Certificate path is not properly pinned.", null, certPath, -1));
319 "Trust anchor for certification path not found.", null, certPath, -1));
331 validator.validate(certPath, params);
  /prebuilts/sdk/tools/lib/
signapk.jar 
  /external/google-tv-pairing-protocol/java/jar/
bcprov-jdk15-143.jar 
  /prebuilts/devtools/tools/lib/
bcprov-jdk15on-1.48.jar 
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar 
  /prebuilts/tools/common/offline-m2/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 

Completed in 370 milliseconds

1 2