/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();
|
CertPathValidatorTest.java | 18 import java.security.cert.CertPath; 34 public abstract CertPath getCertPath();
|
/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...] |
CertPathValidatorExceptionTest.java | 30 import java.security.cert.CertPath; 195 * <code>CertPathValidatorException(String, Throwable, CertPath, int)</code> 198 * <code>certPath</code> is null <code>index</code> is -1 211 * <code>CertPathValidatorException(String, Throwable, CertPath, int)</code> 214 * <code>certPath</code> is null <code>index</code> not -1 throws: 226 + ", certPath is null and index is " + indx[j]); 235 * <code>CertPathValidatorException(String, Throwable, CertPath, int)</code> 238 * <code>certPath</code> is null <code>index</code> is -1 264 + ", certPath is null and index is -1"); 271 * <code>CertPathValidatorException(String, Throwable, CertPath, int)</code [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);
|
CertPathCertPathRepTest.java | 9 import java.security.cert.CertPath; 25 * Test for <code>CertPath.CertPathRep(String type, byte[] data)</code>
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
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...] |
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
|
/libcore/ojluni/src/main/java/java/security/cert/ |
CertPathValidatorException.java | 73 * @serial the {@code CertPath} that was being validated when 76 private CertPath certPath; 138 * @param certPath the certification path that was in the process of 142 * the list of certificates in a {@code CertPath} is zero based. 144 * {@code (index < -1 || (certPath != null && index >= 145 * certPath.getCertificates().size()) } 146 * @throws IllegalArgumentException if {@code certPath} is 150 CertPath certPath, int index) [all...] |
PKIXCertPathBuilderResult.java | 62 private CertPath certPath; 68 * @param certPath the validated {@code CertPath} 74 * @throws NullPointerException if the {@code certPath}, 78 public PKIXCertPathBuilderResult(CertPath certPath, 83 if (certPath == null) 84 throw new NullPointerException("certPath must be non-null"); 85 this.certPath = certPath [all...] |
CertPath.java | 39 * {@code CertPath}s. Subclasses can handle different kinds of 42 * All {@code CertPath} objects have a type, a list of 44 * {@code CertPath} class is immutable, a {@code CertPath} cannot 51 * certificate {@code cert} in a certification path {@code certPath}, 52 * {@code cert.getType().equals(certPath.getType())} must be 59 * Each {@code CertPath} object must support one or more encodings 63 * by a {@code CertPath} is considered the default encoding. This 67 * All {@code CertPath} objects are also {@code Serializable}. 68 * {@code CertPath} objects are resolved into an alternat [all...] |
CertPathValidatorSpi.java | 67 * The {@code CertPath} specified must be of a type that is 71 * algorithm validates {@code CertPath} objects of type X.509. 73 * @param certPath the {@code CertPath} to be validated 76 * @exception CertPathValidatorException if the {@code CertPath} 79 * parameters or the type of the specified {@code CertPath} are 83 engineValidate(CertPath certPath, CertPathParameters params)
|
CertPathParameters.java | 31 * all {@code CertPath} parameter specifications. All 32 * {@code CertPath} parameter specifications must implement this 36 * @see CertPathValidator#validate(CertPath, CertPathParameters)
|
/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 {
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
SunCertPathBuilderResult.java | 26 package sun.security.provider.certpath; 30 import java.security.cert.CertPath; 52 private static final Debug debug = Debug.getInstance("certpath"); 59 * @param certPath the validated <code>CertPath</code> 67 SunCertPathBuilderResult(CertPath certPath, 71 super(certPath, trustAnchor, policyTree, subjectPublicKey);
|
PKIX.java | 25 package sun.security.provider.certpath; 42 private static final Debug debug = Debug.getInstance("certpath"); 51 static ValidatorParams checkParams(CertPath cp, CertPathParameters params) 78 private CertPath certPath; 89 ValidatorParams(CertPath cp, PKIXParameters params) 95 + "CertPath type specified, must be X.509 or X509"); 97 this.certPath = cp; 115 CertPath certPath() { [all...] |
/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/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLX509CertPath.java | 22 import java.security.cert.CertPath; 35 * An implementation of {@link CertPath} based on BoringSSL. 37 final class OpenSSLX509CertPath extends CertPath { 143 private static CertPath fromPkiPathEncoding(InputStream inStream) throws CertificateException { 182 private static CertPath fromPkcs7Encoding(InputStream inStream) throws CertificateException { 224 private static CertPath fromEncoding(InputStream inStream, Encoding encoding) 236 static CertPath fromEncoding(InputStream inStream, String encoding) 250 static CertPath fromEncoding(InputStream inStream) throws CertificateException {
|