HomeSort by relevance Sort by last modified time
    Searched defs:pemCert (Results 1 - 7 of 7) sorted by null

  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
X509Certificate2Test.java 43 X509Certificate pemCert = (X509Certificate) certFact
47 extensionOids.addAll(pemCert.getCriticalExtensionOIDs());
48 extensionOids.addAll(pemCert.getNonCriticalExtensionOIDs());
52 byte[] value = pemCert.getExtensionValue(oid);
68 X509Certificate pemCert = (X509Certificate) certFact
73 byte[] extnValue = pemCert.getExtensionValue("2.5.29.35");
76 assertNotNull(pemCert.toString());
X509CRL2Test.java 32 private X509Certificate pemCert = null;
40 pemCert = (X509Certificate) certFact.generateCertificate(is);
47 if (pemCert != null) {
49 extensionOids.addAll(pemCert.getCriticalExtensionOIDs());
50 extensionOids.addAll(pemCert.getNonCriticalExtensionOIDs());
54 byte[] value = pemCert.getExtensionValue(oid);
X509CRLEntry2Test.java 32 private X509Certificate pemCert = null;
40 pemCert = (X509Certificate) certFact.generateCertificate(is);
47 if (pemCert != null) {
49 extensionOids.addAll(pemCert.getCriticalExtensionOIDs());
50 extensionOids.addAll(pemCert.getNonCriticalExtensionOIDs());
54 byte[] value = pemCert.getExtensionValue(oid);
  /libcore/luni/src/test/java/tests/security/cert/
X509CRL2Test.java 39 private X509Certificate pemCert = null;
72 pemCert = (X509Certificate) certFact.generateCertificate(certArray);
84 if (pemCert != null) {
86 extensionOids.addAll(pemCert.getCriticalExtensionOIDs());
87 extensionOids.addAll(pemCert.getNonCriticalExtensionOIDs());
88 assertFalse(pemCert.hasUnsupportedCriticalExtension());
92 byte[] value = pemCert.getExtensionValue(oid);
X509Certificate2Test.java 48 X509Certificate pemCert = (X509Certificate) certFact
53 byte[] extnValue = pemCert.getExtensionValue("2.5.29.35");
57 assertNotNull(pemCert.toString());
TrustAnchorTest.java 278 X509Certificate pemCert = (X509Certificate) certFact
283 TrustAnchor ta1 = new TrustAnchor(pemCert, getFullEncoding());
288 assertEquals(pemCert, ta1.getTrustedCert());
291 TrustAnchor ta2 = new TrustAnchor(pemCert, getEncodingPSOnly());
296 assertEquals(pemCert, ta2.getTrustedCert());
299 TrustAnchor ta3 = new TrustAnchor(pemCert, getEncodingESOnly());
304 assertEquals(pemCert, ta3.getTrustedCert());
307 TrustAnchor ta4 = new TrustAnchor(pemCert, getEncodingNoMinMax());
313 assertEquals(pemCert, ta4.getTrustedCert());
344 X509Certificate pemCert = (X509Certificate) certFac
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
X509TrustManagerTest.java 16 X509Certificate pemCert = (X509Certificate) certFact.generateCertificate(
18 X509Certificate[] xcert = { pemCert };
24 X509Certificate pemCert = (X509Certificate) certFact.generateCertificate(
26 X509Certificate[] xcert = { pemCert };

Completed in 381 milliseconds