/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | ChoiceFormatTest.java | 49 ChoiceFormat cf = new ChoiceFormat(appleLimits, appleFormats); in test_Constructor$D$Ljava_lang_String() local 51 formattedString = cf.format(Double.NEGATIVE_INFINITY); in test_Constructor$D$Ljava_lang_String() 54 formattedString = cf.format(0.5d); in test_Constructor$D$Ljava_lang_String() 57 formattedString = cf.format(1d); in test_Constructor$D$Ljava_lang_String() 60 formattedString = cf.format(1.5d); in test_Constructor$D$Ljava_lang_String() 63 formattedString = cf.format(2d); in test_Constructor$D$Ljava_lang_String() 66 formattedString = cf.format(2.5d); in test_Constructor$D$Ljava_lang_String() 69 formattedString = cf.format(3d); in test_Constructor$D$Ljava_lang_String() 72 formattedString = cf.format(4d); in test_Constructor$D$Ljava_lang_String() 75 formattedString = cf.format(5d); in test_Constructor$D$Ljava_lang_String() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | HostnameVerifierTest.java | 46 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testVerify() local 51 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 59 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 66 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 75 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 89 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 96 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 107 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 116 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 123 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() [all …]
|
D | X509KeyManagerTest.java | 626 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in init() local 636 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in init() 637 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in init() 638 cert[2] = (X509Certificate) cf.generateCertificate(certArray3); in init() 649 cert[0] = (X509Certificate) cf.generateCertificate(certArray3); in init()
|
D | HttpsURLConnectionTest.java | 273 CertificateFactory cf = CertificateFactory.getInstance(typeDone); in getLocalCertificates() local 276 Certificate cert = cf.generateCertificate(bis); in getLocalCertificates() 288 CertificateFactory cf = CertificateFactory.getInstance(typeDone); in getServerCertificates() local 291 Certificate cert = cf.generateCertificate(bis); in getServerCertificates()
|
/libcore/ojluni/src/test/java/security/cert/ |
D | PKIXCertPathValidatorValidity.java | 107 CertificateFactory cf = CertificateFactory.getInstance("X509"); in runTest() local 112 certs.add(generateCert(certStr, cf)); in runTest() 114 CertPath cp = cf.generateCertPath(certs); in runTest() 120 TrustAnchor ta = new TrustAnchor(generateCert(trustedCertStr, cf), in runTest() 135 CertificateFactory cf) in generateCert() argument 139 return (X509Certificate) cf.generateCertificate(stream); in generateCert()
|
D | AKISerialNumberTest.java | 109 private static CertificateFactory cf; field in AKISerialNumberTest 115 cf = CertificateFactory.getInstance("X.509"); in main() 146 return (X509Certificate)cf.generateCertificate(stream); in getCertFromMimeEncoding()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore2Test.java | 139 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in creatCertificate() local 141 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in creatCertificate() 142 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in creatCertificate() 168 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_aliases() local 170 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_aliases() 171 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in test_aliases() 213 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_containsAliasLjava_lang_String() local 215 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_containsAliasLjava_lang_String() 216 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in test_containsAliasLjava_lang_String() 250 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_getCertificateLjava_lang_String() local [all …]
|
D | Identity2Test.java | 247 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_certificates() local 249 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_certificates() 266 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_removeCertificateLjava_security_Certificate() local 268 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_removeCertificateLjava_security_Certificate() 300 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_equalsLjava_lang_Object() local 302 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_equalsLjava_lang_Object() 320 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_identityEqualsLjava_security_Identity() local 322 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_identityEqualsLjava_security_Identity()
|
D | KeyStorePrivateKeyEntryTest.java | 61 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testGetCertificateChain() local 62 Certificate certificate = cf.generateCertificate(certArray); in testGetCertificateChain()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | PKIXBuilderParametersTest.java | 244 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testPKIXBuilderParametersKeyStoreCertSelector04() local 246 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in testPKIXBuilderParametersKeyStoreCertSelector04() 247 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in testPKIXBuilderParametersKeyStoreCertSelector04() 275 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testGetMaxPathLength() local 277 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in testGetMaxPathLength() 278 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in testGetMaxPathLength() 303 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testSetMaxPathLength() local 305 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in testSetMaxPathLength() 306 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in testSetMaxPathLength() 346 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testToString() local [all …]
|
D | CertificateFactory1Test.java | 640 CertificateFactory cf = new myCertificateFactory(spi, defaultProvider, in testCertificateFactory17() local 642 assertEquals("Incorrect type", cf.getType(), defaultType); in testCertificateFactory17() 643 assertEquals("Incorrect provider", cf.getProvider(), defaultProvider); in testCertificateFactory17() 645 cf.generateCRLs(null); in testCertificateFactory17() 650 cf = new myCertificateFactory(null, null, null); in testCertificateFactory17() 651 assertNull("Incorrect type", cf.getType()); in testCertificateFactory17() 652 assertNull("Incorrect provider", cf.getProvider()); in testCertificateFactory17() 654 cf.generateCRLs(null); in testCertificateFactory17() 697 myCertificateFactory cf; in testCertificateFactory19() local 699 cf = new myCertificateFactory(spi, defaultProvider, in testCertificateFactory19() [all …]
|
D | CertificateTest.java | 171 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testGetEncoded() local 173 Certificate actual = cf.generateCertificate(new ByteArrayInputStream(expectedEncoding)); in testGetEncoded() 180 cf.generateCertificate(new ByteArrayInputStream(expectedEncoding)); in testGetEncoded()
|
D | X509CRLTest.java | 289 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testGetRevokedCertificate() local 290 X509Certificate cert = (X509Certificate) cf.generateCertificate(certArray); in testGetRevokedCertificate()
|
D | X509Certificate2Test.java | 507 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in generateCert() local 509 X509Certificate cert = (X509Certificate) cf.generateCertificate(bais); in generateCert()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | TestUtils.java | 92 CertificateFactory cf = null; in getTrustAnchor() local 94 cf = CertificateFactory.getInstance(certType); in getTrustAnchor() 105 X509Certificate c1 = (X509Certificate)cf.generateCertificate(bis); in getTrustAnchor() 777 CertificateFactory cf = CertificateFactory.getInstance("X.509"); 779 rootCertificateSS = (X509Certificate) cf.generateCertificate(bi); 781 endCertificate = (X509Certificate) cf.generateCertificate(bi);
|
/libcore/luni/src/test/java/dalvik/system/ |
D | create_test_jar.sh | 25 jar cf ./child.jar classes.dex resource.txt 50 jar cf ./parent.jar classes.dex resource.txt resource2.txt 70 jar cf ./bootoverride.jar classes.dex android/icu/ICUConfig.properties
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | FlagOpTest.java | 163 private void testFlagsSetSequence(Supplier<StatefulTestOp<Integer>> cf) { in testFlagsSetSequence() argument 169 ops.add(cf.get()); in testFlagsSetSequence() 177 ops.add(cf.get()); in testFlagsSetSequence() 197 protected void testFlagsClearSequence(Supplier<StatefulTestOp<Integer>> cf) { in testFlagsClearSequence() argument 204 ops.add(cf.get()); in testFlagsClearSequence() 213 ops.add(cf.get()); in testFlagsClearSequence()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertPath.java | 332 CertificateFactory cf = CertificateFactory.getInstance(type); in readResolve() local 333 return cf.generateCertPath(new ByteArrayInputStream(data)); in readResolve()
|
D | Certificate.java | 274 CertificateFactory cf = CertificateFactory.getInstance(type); in readResolve() local 275 return cf.generateCertificate in readResolve()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/ |
D | X509CertificateTest.java | 137 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in setUp() local 138 this.cert = (java.security.cert.X509Certificate) cf in setUp() 143 this.javaCert = (java.security.cert.X509Certificate)cf in setUp() 146 myProvider = cf.getProvider(); in setUp() 150 this.javaSSCert = cf.generateCertificate(new ByteArrayInputStream( in setUp() 154 mySSProvider = cf.getProvider(); in setUp()
|
/libcore/luni/src/test/java/tests/com/android/org/bouncycastle/jce/provider/ |
D | CertBlacklistTest.java | 220 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in createPublicKey() local 221 return cf.generateCertificate(istream).getPublicKey(); in createPublicKey() 227 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in createSerialNumber() local 228 X509Certificate xCert = (X509Certificate)cf.generateCertificate(istream); in createSerialNumber()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | SunCertPathBuilder.java | 75 private CertificateFactory cf; field in SunCertPathBuilder 88 cf = CertificateFactory.getInstance("X.509"); in SunCertPathBuilder() 185 cf.generateCertPath(certPathList), trustAnchor, in buildCertPath() 370 buildParams.setCertPath(cf.generateCertPath(appendedCerts)); in depthFirstSearchForward()
|
/libcore/luni/src/test/etc/loading-test2-jar/ |
D | build.sh | 45 jar cf loading-test2.jar classes.dex -C resources .
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | build.sh | 51 jar cf loading-test.jar classes.dex -C resources .
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | OldPKIXParametersTest.java | 110 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testIsPolicyMappingInhibited() local 139 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testIsRevocationEnabled() local
|