/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/tests/targets/security/cert/ |
CertificateTest.java | 23 import java.security.cert.CertPath; [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
CertificateFactoryTest.java | 42 import java.security.cert.CertPath; 366 /* CertPath tests */ 387 final CertPath duplicatedPath = cf.generateCertPath(duplicatedCerts); 436 final CertPath pathFromList = cf.generateCertPath(expectedCerts); 481 final CertPath actualPath; 512 assertTrue(providerName, output instanceof CertPath); 514 assertEquals(providerName, actualPath, (CertPath) output);
|
CertPathValidatorTest.java | 21 import java.security.cert.CertPath; 108 CertPath certPath = cf.generateCertPath(chain); 111 cpv.validate(certPath, params);
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
TestCertUtils.java | 81 * Returns a test CertPath, which uses getCertChain() to obtain a list of 86 public static CertPath getCertPath() { 92 * TestCertificate-s included in the CertPath will be uniq (will have 95 * in the CertPath. The second certificate will have (startID+1) number 98 * @param howMany - shows how many TestCerts must contain the CertPath generated 102 public static CertPath genCertPath(int howMany, int startID) { 145 public static final class TestCertPath extends CertPath implements 180 * @see java.security.cert.CertPath#getCertificates() 187 * @see java.security.cert.CertPath#getEncoded() 194 * @see java.security.cert.CertPath#getEncoded(java.lang.String [all...] |
/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...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
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());
|
/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 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...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
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 215 PKIXMasterCertPathValidator.validate(params.certPath(),
|
/libcore/ojluni/src/main/java/sun/security/provider/ |
X509Factory.java | 34 import sun.security.provider.certpath.X509CertPath; 35 import sun.security.provider.certpath.X509CertificatePair; 52 * @see java.security.cert.CertPath 221 * Generates a <code>CertPath</code> object and initializes it with 226 * @return a <code>CertPath</code> initialized with the data from the 231 public CertPath engineGenerateCertPath(InputStream inStream) 250 * Generates a <code>CertPath</code> object and initializes it with 256 * @return a <code>CertPath</code> initialized with the data from the 262 public CertPath engineGenerateCertPath(InputStream inStream, 281 * Generates a <code>CertPath</code> object and initializes it wit [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory2Test.java | 31 import java.security.cert.CertPath; 162 CertPath cp;
|
CertificateFactory1Test.java | 33 import java.security.cert.CertPath; 607 * Assertion: returns empty CertPath if certificates is empty 619 CertPath cp = certFs[i].generateCertPath(list);
|
/libcore/luni/src/test/java/tests/security/cert/ |
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;
|
CertPathValidator2Test.java | 36 import java.security.cert.CertPath;
|
CertificateFactory1Test.java | 40 import java.security.cert.CertPath; 589 * Assertion: returns empty CertPath if certificates is empty 600 CertPath cp = certFs[i].generateCertPath(list);
|
X509CertSelectorTest.java | 30 import java.security.cert.CertPath; [all...] |
/libcore/ojluni/src/main/java/sun/security/validator/ |
PKIXValidator.java | 35 import sun.security.provider.certpath.AlgorithmChecker; 38 * Validator implementation built on the PKIX CertPath API. This 311 private static X509Certificate[] toArray(CertPath path, TrustAnchor anchor) 343 CertPath path = factory.generateCertPath(Arrays.asList(chain));
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
TrustManagerImpl.java | 24 import java.security.cert.CertPath; 548 CertPath certPath = factory.generateCertPath(untrustedChain); 550 "Trust anchor for certification path not found.", null, certPath, -1)); 557 // TODO: check whether this is slow and should be replaced by a minimalistic CertPath impl 559 CertPath certPath = factory.generateCertPath(untrustedChain); 564 "Trust anchor for certification path not found.", null, certPath, -1)); 582 "Certificate path is not properly pinned.", null, certPath, -1)); 606 validator.validate(certPath, params) [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
SignatureFileVerifier.java | 28 import java.security.cert.CertPath; 75 /* for generating certpath objects */ 483 CertPath certChain = certificateFactory.generateCertPath(chain); 521 * the TSA's certpath. 547 CertPath tsaChain = certificateFactory.generateCertPath(chain);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
OSUSocketFactory.java | 20 import java.security.cert.CertPath; 243 CertPath path = certFactory.generateCertPath(
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
TestUtils.java | 34 import java.security.cert.CertPath; [all...] |
/external/nist-pkits/src/libcore/java/security/cert/ |
X509CertificateNistPkitsTest.java | 25 import java.security.cert.CertPath; 137 private CertPath getTestPath(CertificateFactory f, String[] pathCerts) throws Exception { 181 CertPath cp = getTestPath(f, certs); 204 CertPath cp = getTestPath(f, path); [all...] |