/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertificateFactorySpi.java | 29 import java.security.cert.CertPath; 99 public CertPath engineGenerateCertPath(InputStream inStream) 106 throw new CertificateException("There are no CertPath encodings"); 111 public CertPath engineGenerateCertPath(InputStream inStream, String encoding) 124 public CertPath engineGenerateCertPath(List<? extends Certificate> certificates) {
|
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/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/serialization/ |
CertPathValidatorExceptionTest.java | 25 import java.security.cert.CertPath; 65 CertPath cp = ref.getCertPath(); 71 CertPath res = test.getCertPath(); 72 assertEquals("Incorrect CertPath", res.getClass(), cp.getClass());
|
/libcore/ojluni/src/main/java/java/security/cert/ |
CertPath.java | 39 * <code>CertPath</code>s. Subclasses can handle different kinds of 42 * All <code>CertPath</code> objects have a type, a list of 44 * <code>CertPath</code> class is immutable, a <code>CertPath</code> cannot 51 * certificate <code>cert</code> in a certification path <code>certPath</code>, 52 * <code>cert.getType().equals(certPath.getType())</code> must be 59 * Each <code>CertPath</code> object must support one or more encodings 63 * by a <code>CertPath</code> is considered the default encoding. This 67 * All <code>CertPath</code> objects are also <code>Serializable</code>. 68 * <code>CertPath</code> objects are resolved into an alternat [all...] |
CertificateFactory.java | 44 * used to generate certificate, certification path (<code>CertPath</code>) 51 * a <code>CertPath</code> (a certificate chain) and subsequently 109 * and the following <code>CertPath</code> encodings: 133 * CertPath Encodings section</a> of the 142 * @see CertPath 366 * Returns an iteration of the <code>CertPath</code> encodings supported 368 * the CertPath Encodings section in the <a href= 378 * <code>CertPath</code> encodings (as <code>String</code>s) 386 * Generates a <code>CertPath</code> object and initializes it with 393 * @return a <code>CertPath</code> initialized with the data from th [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
CodeSignerTest.java | 25 import java.security.cert.CertPath; 39 private CertPath cpath = TestCertUtils.genCertPath(3, 0); 72 CertPath cpath2 = TestCertUtils.genCertPath(5, 3);
|
TimestampTest.java | 25 import java.security.cert.CertPath; 43 private CertPath cpath = new MyCertPath(encoding);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
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);
|
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...] |
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...] |
PKIXCertPathBuilderResultTest.java | 26 import java.security.cert.CertPath; 80 * Test #1 for <code>PKIXCertPathBuilderResult(CertPath, TrustAnchor, 104 * Test #2 for <code>PKIXCertPathBuilderResult(CertPath, TrustAnchor, 128 * Test #3 for <code>PKIXCertPathBuilderResult(CertPath, TrustAnchor, 131 * if certPath is <code>null</code> 152 * Test #4 for <code>PKIXCertPathBuilderResult(CertPath, TrustAnchor, 171 * Test #5 for <code>PKIXCertPathBuilderResult(CertPath, TrustAnchor, 215 * Assertion: the built and validated <code>CertPath</code> 227 CertPath cp = new MyCertPath(testEncoding);
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLX509CertPath.java | 22 import java.security.cert.CertPath; 34 public class OpenSSLX509CertPath extends CertPath { 138 private static CertPath fromPkiPathEncoding(InputStream inStream) throws CertificateException { 177 private static CertPath fromPkcs7Encoding(InputStream inStream) throws CertificateException { 219 private static CertPath fromEncoding(InputStream inStream, Encoding encoding) 231 public static CertPath fromEncoding(InputStream inStream, String encoding) 245 public static CertPath fromEncoding(InputStream inStream) throws CertificateException {
|
OpenSSLX509CertificateFactory.java | 24 import java.security.cert.CertPath; 316 public CertPath engineGenerateCertPath(InputStream inStream) throws CertificateException { 321 public CertPath engineGenerateCertPath(InputStream inStream, String encoding) 327 public CertPath engineGenerateCertPath(List<? extends Certificate> certificates)
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
CodeSignerTest.java | 27 import java.security.cert.CertPath; 38 private CertPath cpath = TestCertUtils.genCertPath(3, 0); 88 CertPath cpath2 = TestCertUtils.genCertPath(5, 3);
|
TimestampTest.java | 26 import java.security.cert.CertPath; 43 private CertPath cpath = new MyCertPath(encoding);
|
/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();
|
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:
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
PKIXMasterCertPathValidator.java | 26 package sun.security.provider.certpath; 33 import java.security.cert.CertPath; 41 * and is used to verify the certificates in a <code>CertPath</code> by 49 private static final Debug debug = Debug.getInstance("certpath"); 58 * @param cpOriginal the original X509 CertPath passed in by the user 59 * @param reversedCertList the reversed X509 CertPath (as a List) 63 static void validate(CertPath cpOriginal, 69 // we need to return the original certPath when we throw an exception.
|
PKIX.java | 25 package sun.security.provider.certpath; 43 private static final Debug debug = Debug.getInstance("certpath"); 52 static ValidatorParams checkParams(CertPath cp, CertPathParameters params) 79 private CertPath certPath; 90 ValidatorParams(CertPath cp, PKIXParameters params) 96 + "CertPath type specified, must be X.509 or X509"); 98 this.certPath = cp; 116 CertPath certPath() { [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
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...] |
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);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
CertificateFactory.java | 8 import java.security.cert.CertPath; 342 public CertPath engineGenerateCertPath( 349 public CertPath engineGenerateCertPath( 357 public CertPath engineGenerateCertPath( 370 throw new CertificateException("list contains non X509Certificate object while creating CertPath\n" + obj.toString());
|
/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...] |