HomeSort by relevance Sort by last modified time
    Searched refs:CertPath (Results 26 - 50 of 87) sorted by null

12 3 4

  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
TimestampTest.java 26 import java.security.cert.CertPath;
43 private CertPath cpath = new MyCertPath(encoding);
  /libcore/luni/src/test/java/tests/targets/security/cert/
CertPathBuilderTestPKIX.java 20 import java.security.cert.CertPath;
69 public void validateCertPath(CertPath path) {
72 // CertPath should not include the Trust Anchor, so the path should be:
CertificateTest.java 23 import java.security.cert.CertPath;
    [all...]
  /libcore/ojluni/src/main/java/sun/security/provider/certpath/
PKIXMasterCertPathValidator.java 26 package sun.security.provider.certpath;
34 import java.security.cert.CertPath;
42 * and is used to verify the certificates in a <code>CertPath</code> by
50 private static final Debug debug = Debug.getInstance("certpath");
59 * @param cpOriginal the original X509 CertPath passed in by the user
60 * @param reversedCertList the reversed X509 CertPath (as a List)
64 static void validate(CertPath cpOriginal,
70 // we need to return the original certPath when we throw an exception.
X509CertPath.java 26 package sun.security.provider.certpath;
36 import java.security.cert.CertPath;
49 * A {@link java.security.cert.CertPath CertPath} (certification path)
53 * By convention, X.509 <code>CertPath</code>s are stored from target
56 * one. However, unvalidated X.509 <code>CertPath</code>s may not follow
64 public class X509CertPath extends CertPath {
169 * Parse a PKIPATH format CertPath from an InputStream. Return an
210 * Parse a PKCS#7 format CertPath from an InputStream. Return an
282 * Encode the CertPath using PKIPATH format
    [all...]
PKIXCertPathValidator.java 26 package sun.security.provider.certpath;
33 import sun.security.provider.certpath.PKIX.ValidatorParams;
48 private static final Debug debug = Debug.getInstance("certpath");
74 public CertPathValidatorResult engineValidate(CertPath cp,
88 // Retrieve the first certificate in the certpath
222 PKIXMasterCertPathValidator.validate(params.certPath(),
  /external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLX509CertificateFactory.java 24 import java.security.cert.CertPath;
322 public CertPath engineGenerateCertPath(InputStream inStream) throws CertificateException {
327 public CertPath engineGenerateCertPath(InputStream inStream, String encoding)
333 public CertPath engineGenerateCertPath(List<? extends Certificate> certificates)
  /libcore/luni/src/test/java/tests/security/cert/
CertPathCertPathRepTest.java 9 import java.security.cert.CertPath;
25 * Test for <code>CertPath.CertPathRep(String type, byte[] data)</code>
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...]
PKIXCertPathBuilderResultTest.java 32 import java.security.cert.CertPath;
73 * Test #1 for <code>PKIXCertPathBuilderResult(CertPath, TrustAnchor,
96 * Test #2 for <code>PKIXCertPathBuilderResult(CertPath, TrustAnchor,
119 * Test #3 for <code>PKIXCertPathBuilderResult(CertPath, TrustAnchor,
122 * if certPath is <code>null</code>
143 * Test #4 for <code>PKIXCertPathBuilderResult(CertPath, TrustAnchor,
162 * Test #5 for <code>PKIXCertPathBuilderResult(CertPath, TrustAnchor,
205 * Assertion: the built and validated <code>CertPath</code>
216 CertPath cp = new MyCertPath(testEncoding);
CertPathBuilder1Test.java 36 import java.security.cert.CertPath;
329 CertPath certPath = result.getCertPath();
330 assertNotNull("certpath of builder result is null", certPath);
CertificateFactory2Test.java 37 import java.security.cert.CertPath;
153 CertPath cp;
  /libcore/ojluni/src/test/java/security/cert/
PKIXCertPathValidatorValidity.java 28 * @summary CertPath should validate even if the validity period of the
33 // jdk/test/sun/security/provider/certpath/PKIXCertPathValidator/Validity.java
109 // Generate the CertPath from the certs named in certStrs
114 CertPath cp = cf.generateCertPath(certs);
128 // Attempt to validate the CertPath. If no exception thrown, successful.
131 System.out.println("CertPath validation successful.");
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
RFC3280CertPathUtilities.java 7 import java.security.cert.CertPath;
541 throw new AnnotatedException("CertPath for CRL signer failed to validate.", e);
    [all...]
PKIXCertPathBuilderSpi.java 4 import java.security.cert.CertPath;
39 * Build and validate a CertPath using the given parameter.
42 * build the CertPath
195 CertPath certPath = null;
199 certPath = cFact.engineGenerateCertPath(tbvPath);
211 certPath, pkixParams);
219 return new PKIXCertPathBuilderResult(certPath, result
PKIXCertPathValidatorSpi.java 8 import java.security.cert.CertPath;
55 CertPath certPath,
101 List certs = certPath.getCertificates();
106 throw new CertPathValidatorException("Certification path is empty.", null, certPath, -1);
119 throw new CertPathValidatorException(e.getMessage(), e, certPath, 0);
146 throw new CertPathValidatorException(e.getMessage(), e, certPath, certs.size() - 1);
151 throw new CertPathValidatorException("Trust anchor for certification path not found.", null, certPath, -1);
256 throw new ExtCertPathValidatorException("Subject of trust anchor could not be (re)encoded.", ex, certPath,
268 "Algorithm identifier of public key of trust anchor could not be read.", e, certPath, -1)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
CertificateFactory.java 12 import java.security.cert.CertPath;
405 public CertPath engineGenerateCertPath(
412 public CertPath engineGenerateCertPath(
420 public CertPath engineGenerateCertPath(
433 throw new CertificateException("list contains non X509Certificate object while creating CertPath\n" + obj.toString());
PKIXCertPath.java 10 import java.security.cert.CertPath;
45 * CertPath implementation for X.509 certificates.
49 extends CertPath
168 * Creates a CertPath of the specified type.
186 throw new CertificateException("input stream does not contain a ASN1 SEQUENCE while reading PkiPath encoded data to load CertPath");
217 throw new CertificateException("IOException throw while decoding CertPath:\n" + ex.toString());
  /libcore/ojluni/src/main/java/java/security/cert/
CertPathValidator.java 52 * validate} method and passing it the {@code CertPath} to be validated
106 * @see CertPath
282 * The {@code CertPath} specified must be of a type that is
286 * algorithm validates {@code CertPath} objects of type X.509.
288 * @param certPath the {@code CertPath} to be validated
291 * @exception CertPathValidatorException if the {@code CertPath}
294 * parameters or the type of the specified {@code CertPath} are
297 public final CertPathValidatorResult validate(CertPath certPath,
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/cert/
CertificateFactoryTest.java 44 import java.security.cert.CertPath;
369 /* CertPath tests */
390 final CertPath duplicatedPath = cf.generateCertPath(duplicatedCerts);
439 final CertPath pathFromList = cf.generateCertPath(expectedCerts);
484 final CertPath actualPath;
515 assertTrue(providerName, output instanceof CertPath);
517 assertEquals(providerName, actualPath, (CertPath) output);
CertPathValidatorTest.java 21 import java.security.cert.CertPath;
108 CertPath certPath = cf.generateCertPath(chain);
111 cpv.validate(certPath, params);
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
TestCertUtils.java 83 * Returns a test CertPath, which uses getCertChain() to obtain a list of
88 public static CertPath getCertPath() {
94 * TestCertificate-s included in the CertPath will be uniq (will have
97 * in the CertPath. The second certificate will have (startID+1) number
100 * @param howMany - shows how many TestCerts must contain the CertPath generated
104 public static CertPath genCertPath(int howMany, int startID) {
148 public static final class TestCertPath extends CertPath implements
182 * @see java.security.cert.CertPath#getCertificates()
189 * @see java.security.cert.CertPath#getEncoded()
196 * @see java.security.cert.CertPath#getEncoded(java.lang.String
    [all...]
  /frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
OSUSocketFactory.java 21 import java.security.cert.CertPath;
246 CertPath path = certFactory.generateCertPath(
  /libcore/ojluni/src/main/java/sun/security/pkcs/
SignerInfo.java 47 import java.security.cert.CertPath;
571 * the TSA's certpath.
595 CertPath tsaChain = cf.generateCertPath(chain);
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
TestUtils.java 34 import java.security.cert.CertPath;
    [all...]

Completed in 783 milliseconds

12 3 4