Home
last modified time | relevance | path

Searched refs:IS_RI (Results 1 – 24 of 24) sorted by relevance

/libcore/support/src/test/java/libcore/java/security/
DStandardNames.java68 public static final boolean IS_RI field in StandardNames
70 public static final String JSSE_PROVIDER_NAME = (IS_RI) ? "SunJSSE" : "AndroidOpenSSL";
71 public static final String SECURITY_PROVIDER_NAME = (IS_RI) ? "SUN" : "BC";
73 public static final String KEY_MANAGER_FACTORY_DEFAULT = (IS_RI) ? "SunX509" : "PKIX";
76 public static final String KEY_STORE_ALGORITHM = (IS_RI) ? "JKS" : "BKS";
282 if (IS_RI) {
327 if (IS_RI) {
333 if (IS_RI) {
341 if (!IS_RI) {
559 if (IS_RI) {
[all …]
DTestKeyStore.java92 if (StandardNames.IS_RI) {
369 if (StandardNames.IS_RI) { in build()
640 if (StandardNames.IS_RI) { in createCertificate()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java53 private static final boolean IS_RI = StandardNames.IS_RI; field in TestSSLContext
54 public static final int EXPECTED_DEFAULT_CLIENT_SSL_SESSION_CACHE_SIZE = (IS_RI) ? 0 : 10;
55 public static final int EXPECTED_DEFAULT_SERVER_SSL_SESSION_CACHE_SIZE = (IS_RI) ? 0 : 100;
57 (IS_RI) ? 24 * 3600 : 8 * 3600;
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java463 if (StandardNames.IS_RI) { in getIssuerDN()
516 if (StandardNames.IS_RI) { in getSubjectDN()
614 if (StandardNames.IS_RI) { in getSigAlgName()
646 if (StandardNames.IS_RI) { in getSigAlgParams()
806 if (StandardNames.IS_RI) { in getOIDTestBytes()
923 if (StandardNames.IS_RI) { in getSubjectAlternativeNames_IPV6()
958 if (!StandardNames.IS_RI) { in getSubjectAlternativeNames_Other()
1176 if (StandardNames.IS_RI) {
1180 if (StandardNames.IS_RI) {
1206 if (StandardNames.IS_RI) {
[all …]
DCertificateFactoryTest.java208 if (StandardNames.IS_RI) { in test_generateCertificate_AnyLineLength_Success()
387 if (StandardNames.IS_RI) { in testGenerateCertPath()
391 if (!StandardNames.IS_RI) { in testGenerateCertPath()
DX509CRLTest.java405 if (StandardNames.IS_RI) { in getSigAlgParams()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSocketTest.java121 assertTrue(StandardNames.IS_RI); in testConstructor_InetAddressIInetAddressI()
123 assertFalse(StandardNames.IS_RI); in testConstructor_InetAddressIInetAddressI()
130 assertFalse(StandardNames.IS_RI); in testConstructor_InetAddressIInetAddressI()
418 private boolean useBKS = !StandardNames.IS_RI;
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLEngineTest.java178 if (StandardNames.IS_RI && "TLSv1.2".equals(c.clientContext.getProtocol()) in test_SSLEngine_getSupportedCipherSuites_connect()
490 assertTrue(StandardNames.IS_RI); in test_SSLEngine_setUseClientMode()
492 assertFalse(StandardNames.IS_RI); in test_SSLEngine_setUseClientMode()
638 assertTrue(StandardNames.IS_RI);
641 assertFalse(StandardNames.IS_RI);
DSSLSocketTest.java120 boolean errorExpected = StandardNames.IS_RI && cipherSuite.endsWith("_SHA256"); in test_SSLSocket_getSupportedCipherSuites_connect()
629 assertTrue(StandardNames.IS_RI); in test_SSLSocket_setUseClientMode()
631 assertFalse(StandardNames.IS_RI); in test_SSLSocket_setUseClientMode()
1083 assertTrue(StandardNames.IS_RI); in test_SSLSocket_close()
1085 assertFalse(StandardNames.IS_RI); in test_SSLSocket_close()
1096 assertTrue(StandardNames.IS_RI); in test_SSLSocket_close()
1098 assertFalse(StandardNames.IS_RI); in test_SSLSocket_close()
1171 if (StandardNames.IS_RI) { in test_SSLSocket_setSoTimeout_wrapper()
1198 if (StandardNames.IS_RI) { in test_SSLSocket_setSoWriteTimeout()
1261 if (StandardNames.IS_RI) { in test_SSLSocket_reusedNpnSocket()
[all …]
DTrustManagerFactoryTest.java58 return (StandardNames.IS_RI && algorithm.equals("PKIX")); in supportsManagerFactoryParameters()
151 = issuers.length > (StandardNames.IS_RI ? 1 : 2) * KEY_TYPES.length; in test_X509TrustManager()
DSSLContextTest.java508 if (!StandardNames.IS_RI && in test_SSLContext_getServerSessionContext()
525 if (!StandardNames.IS_RI && in test_SSLContext_getClientSessionContext()
542 assertEquals(StandardNames.IS_RI, testContext.serverStorePassword != null); in test_SSLContextTest_TestSSLContext_create()
DSSLSocketFactoryTest.java173 if (!StandardNames.IS_RI) { in test_SSLSocketFactory_getDefault_cacheInvalidate()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java69 private static final String[] RSA_PROVIDERS = ((StandardNames.IS_RI)
73 private static final String[] AES_PROVIDERS = ((StandardNames.IS_RI)
312 if (StandardNames.IS_RI) {
354 if (StandardNames.IS_RI) {
360 if (StandardNames.IS_RI) {
511 if (StandardNames.IS_RI) {
577 if (StandardNames.IS_RI) {
809 if (StandardNames.IS_RI) {
922 if (StandardNames.IS_RI) { in testCipher_getInstance_DelayedInitialization_KeyType()
926 if (!StandardNames.IS_RI) { in testCipher_getInstance_DelayedInitialization_KeyType()
[all …]
DSecretKeyFactoryTest.java195 if (!StandardNames.IS_RI) { in test_PBKDF2_8BIT()
/libcore/luni/src/test/java/libcore/java/security/
DSignatureTest.java130 if (StandardNames.IS_RI) { in testSignature_getInstance_DelayedInitialization_KeyType()
134 if (!StandardNames.IS_RI) { in testSignature_getInstance_DelayedInitialization_KeyType()
321 if (StandardNames.IS_RI && "NONEwithDSA".equalsIgnoreCase(sig.getAlgorithm())) { in test_Signature()
984 if (StandardNames.IS_RI) { in testSign_SHA1withRSA_CrtKeyWithPublicExponent_Success()
1603 if (StandardNames.IS_RI) { in testGetInstanceFromOID()
DKeyPairGeneratorTest.java268 if (StandardNames.IS_RI && expectedAlgorithm.equals("DIFFIEHELLMAN")) { in test_Key()
DProviderTest.java74 if (StandardNames.IS_RI && providerName.equals("BC")) { in test_Provider_getServices()
DKeyStoreTest.java204 return (StandardNames.IS_RI && ks.getProvider().getName().equals("BC")) in isUnsupported()
2484 if (StandardNames.IS_RI) { in test_KeyStore_cacerts()
/libcore/luni/src/test/java/tests/targets/security/cert/
DCertificateTest.java648 if (StandardNames.IS_RI) { in testVerifyMD2_chain()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyAgreementTest.java761 if (StandardNames.IS_RI) { in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
765 if (!StandardNames.IS_RI) { in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
DMacTest.java957 if (StandardNames.IS_RI) { in testMac_getInstance_DelayedInitialization_KeyType()
961 if (!StandardNames.IS_RI) { in testMac_getInstance_DelayedInitialization_KeyType()
DCipherTest.java550 assertTrue(StandardNames.IS_RI); in testDoFinalbyteArrayintintbyteArrayint()
552 assertFalse(StandardNames.IS_RI); in testDoFinalbyteArrayintintbyteArrayint()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignature2Test.java481 if (StandardNames.IS_RI) { in test_verify$BII()
DKeyStore2Test.java821 assertFalse(StandardNames.IS_RI); // BKS KeyStore does not require a password in test_setEntry()
823 assertTrue(StandardNames.IS_RI); // JKS KeyStore requires a password in test_setEntry()