/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/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; 59 CertPath certPath = null; 61 certPath, params); 64 certPathValid.engineValidate(certPath, params); 69 certPathValid.engineValidate(certPath, params);
|
CertPathValidatorExceptionTest.java | 25 import java.security.cert.CertPath; 200 * <code>CertPathValidatorException(String, Throwable, CertPath, int)</code> 203 * <code>certPath</code> is null <code>index</code> is -1 216 * <code>CertPathValidatorException(String, Throwable, CertPath, int)</code> 219 * <code>certPath</code> is null <code>index</code> not -1 throws: 231 + ", certPath is null and index is " + indx[j]); 240 * <code>CertPathValidatorException(String, Throwable, CertPath, int)</code> 243 * <code>certPath</code> is null <code>index</code> is -1 269 + ", certPath is null and index is -1"); 276 * <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 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...] |
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} from the provided {@code 116 * @return a {@code CertPath} initialized from the provided data 122 public CertPath engineGenerateCertPath(InputStream inStream, String encoding) 128 * Generates a {@code CertPath} from the provided list of certificates. The 134 * @return a {@code CertPath} initialized from the provided data. 140 public CertPath engineGenerateCertPath(List<? extends Certificate> certificates) 146 * Returns an {@code Iterator} over the supported {@code CertPath} encoding [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/api/java.injected/java/security/cert/ |
myCertPath.java | 25 import java.security.cert.CertPath; 29 * Class for CertPath creating 32 public class myCertPath extends CertPath { 54 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 36 public class MyCertPath extends CertPath { 67 * @see java.security.cert.CertPath#getCertificates() 75 * @see java.security.cert.CertPath#getEncoded() 86 * @see java.security.cert.CertPath#getEncoded(java.lang.String) 99 * @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/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 {
|
/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...] |
/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...] |