HomeSort by relevance Sort by last modified time
    Searched full:certpath (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /external/bouncycastle/bcprov/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/luni/src/test/java/tests/security/
special-test-cases.txt 1 - @TestTargetClass(CertPath.class) in CertPathCertPathRepTest should be
2 CertPath.CertPathRep.class, but this class is protected and thus not visible
CertPathBuilderTest.java 18 import java.security.cert.CertPath;
40 public abstract void validateCertPath(CertPath path);
48 CertPath path = builderResult.getCertPath();
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertPathTest.java 24 import java.security.cert.CertPath;
32 * Tests for <code>CertPath</code> fields and methods
60 CertPath cp1 = new MyCertPath(testEncoding);
61 CertPath cp2 = new MyCertPath(testEncoding);
71 CertPath cp1 = new MyCertPath(testEncoding);
72 CertPath cp2 = new MyCertPath(testEncoding);
89 CertPath cp1 = new MyCertPath(testEncoding);
95 * Assertion: object equals to other <code>CertPath</code>
99 CertPath cp1 = new MyCertPath(testEncoding);
100 CertPath cp2 = new MyCertPath(testEncoding)
    [all...]
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);
CertPathValidatorExceptionTest.java 25 import java.security.cert.CertPath;
199 * <code>CertPathValidatorException(String, Throwable, CertPath, int)</code>
202 * <code>certPath</code> is null <code>index</code> is -1
215 * <code>CertPathValidatorException(String, Throwable, CertPath, int)</code>
218 * <code>certPath</code> is null <code>index</code> not -1 throws:
230 + ", certPath is null and index is " + indx[j]);
239 * <code>CertPathValidatorException(String, Throwable, CertPath, int)</code>
242 * <code>certPath</code> is null <code>index</code> is -1
268 + ", certPath is null and index is -1");
275 * <code>CertPathValidatorException(String, Throwable, CertPath, int)</code
    [all...]
  /libcore/luni/src/test/java/tests/security/cert/
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...]
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...]
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);
  /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...]
CertPath.java 32 * A {@code CertPath} can be represented as a byte array in at least one
37 * A {@code CertPath} must be thread-safe without requiring coordinated access.
41 public abstract class CertPath implements Serializable {
48 * Creates a new {@code CertPath} instance for the specified certificate
54 protected CertPath(String type) {
73 * {@code CertPath} to be compared for equality.
80 if (other instanceof CertPath) {
81 CertPath o = (CertPath)other;
107 * Returns a {@code String} representation of this {@code CertPath}
    [all...]
CertPathValidatorSpi.java 35 * Validates the {@code CertPath} with the algorithm of this {@code
38 * @param certPath
51 public abstract CertPathValidatorResult engineValidate(CertPath certPath,
CertificateFactorySpi.java 93 * Generates a {@code CertPath} from the provided {@code InputStream}. The
98 * @return a {@code CertPath} initialized from the provided data.
102 public CertPath engineGenerateCertPath(InputStream inStream)
108 * Generates a {@code CertPath} (a certificate chain) from the given
117 public CertPath engineGenerateCertPath(InputStream inStream, String encoding)
123 * Generates a {@code CertPath} from the provided list of certificates. The
129 * @return a {@code CertPath} initialized from the provided data.
135 public CertPath engineGenerateCertPath(List<? extends Certificate> certificates)
141 * Returns an {@code Iterator} over the supported {@code CertPath} encodings
144 * @return an iterator over supported {@code CertPath} encodings (a
    [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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
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/api/java.injected/java/security/cert/
myCertPath.java 25 import java.security.cert.CertPath;
28 * Class for CertPath creating
30 public class myCertPath extends CertPath {
52 public CertPath get(String s) {
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
MyCertPath.java 24 import java.security.cert.CertPath;
33 * Stub class for <code>java.security.cert.CertPath</code> tests
35 public class MyCertPath extends CertPath {
66 * @see java.security.cert.CertPath#getCertificates()
74 * @see java.security.cert.CertPath#getEncoded()
85 * @see java.security.cert.CertPath#getEncoded(java.lang.String)
98 * @see java.security.cert.CertPath#getEncodings()
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/bcprov/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/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");
MyCertPath.java 26 import java.security.cert.CertPath;
35 * Stub class for <code>java.security.cert.CertPath</code> tests
38 public class MyCertPath extends CertPath {
69 * @see java.security.cert.CertPath#getCertificates()
78 * @see java.security.cert.CertPath#getEncoded()
89 * @see java.security.cert.CertPath#getEncoded(java.lang.String)
102 * @see java.security.cert.CertPath#getEncodings()
110 * @see java.security.cert.CertPath#writeReplace()
116 public class MyCertPathRep extends CertPath.CertPathRep {

Completed in 596 milliseconds

1 2 3 4