/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyFactory2Test.java | 40 import libcore.java.security.StandardNames; 115 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_generatePrivateLjava_security_spec_KeySpec() 123 StandardNames.getPrivateKeySpecClass(keyfactAlgs[i])); in test_generatePrivateLjava_security_spec_KeySpec() 145 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_generatePublicLjava_security_spec_KeySpec() 152 StandardNames.getPublicKeySpecClass(keyfactAlgs[i])); in test_generatePublicLjava_security_spec_KeySpec() 237 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_getKeySpecLjava_security_KeyLjava_lang_Class() 244 StandardNames.getPrivateKeySpecClass(keyfactAlgs[i])); in test_getKeySpecLjava_security_KeyLjava_lang_Class() 246 StandardNames.getPublicKeySpecClass(keyfactAlgs[i])); in test_getKeySpecLjava_security_KeyLjava_lang_Class() 294 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_translateKeyLjava_security_Key()
|
D | KeyStore2Test.java | 52 import libcore.java.security.StandardNames; 821 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()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestTrustManager.java | 28 import libcore.java.security.StandardNames; 132 if (!StandardNames.CLIENT_AUTH_TYPES.contains(authType)) { in assertClientAuthType() 197 if (!StandardNames.SERVER_AUTH_TYPES.contains(authType)) { in assertServerAuthType()
|
D | TestKeyManager.java | 28 import libcore.java.security.StandardNames; 82 if (!StandardNames.KEY_TYPES.contains(keyType)) { in assertKeyType()
|
D | TestSSLContext.java | 46 import libcore.java.security.StandardNames; 61 private static final boolean IS_RI = StandardNames.IS_RI;
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLServerSocketFactoryTest.java | 28 import libcore.java.security.StandardNames; 67 if (!StandardNames.IS_RI) { in test_SSLServerSocketFactory_getDefault_cacheInvalidate()
|
D | SSLSocketFactoryTest.java | 30 import libcore.java.security.StandardNames; 68 if (!StandardNames.IS_RI) { in test_SSLSocketFactory_getDefault_cacheInvalidate()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSocketTest.java | 41 import libcore.java.security.StandardNames; 122 assertTrue(StandardNames.IS_RI); in testConstructor_InetAddressIInetAddressI() 124 assertFalse(StandardNames.IS_RI); in testConstructor_InetAddressIInetAddressI() 131 assertFalse(StandardNames.IS_RI); in testConstructor_InetAddressIInetAddressI() 421 private boolean useBKS = !StandardNames.IS_RI;
|
D | SSLServerSocketTest.java | 36 import libcore.java.security.StandardNames;
|
D | SSLSessionTest.java | 46 import libcore.java.security.StandardNames;
|
D | SSLEngineTest.java | 41 import libcore.java.security.StandardNames;
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | SecretKeyFactoryTest.java | 28 import libcore.java.security.StandardNames; 197 if (!StandardNames.IS_RI) { in test_PBKDF2_8BIT()
|
D | CipherTest.java | 30 import libcore.java.security.StandardNames; 147 if (StandardNames.IS_RI) { in testCipher_getInstance_DelayedInitialization_KeyType() 151 if (!StandardNames.IS_RI) { in testCipher_getInstance_DelayedInitialization_KeyType()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 60 import libcore.java.security.StandardNames; 487 if (StandardNames.IS_RI) { in getIssuerDN() 540 if (StandardNames.IS_RI) { in getSubjectDN() 666 if (StandardNames.IS_RI) { in getSigAlgParams() 826 if (StandardNames.IS_RI) { in getOIDTestBytes() 943 if (StandardNames.IS_RI) { in getSubjectAlternativeNames_IPV6() 978 if (!StandardNames.IS_RI) { in getSubjectAlternativeNames_Other() 1191 if (StandardNames.IS_RI) { 1195 if (StandardNames.IS_RI) { 1221 if (StandardNames.IS_RI) { [all …]
|
D | X509CRLTest.java | 54 import libcore.java.security.StandardNames; 455 if (StandardNames.IS_RI) { in getSigAlgParams()
|
/libcore/luni/src/test/java/tests/targets/security/cert/ |
D | CertificateTest.java | 35 import libcore.java.security.StandardNames; 656 if (StandardNames.IS_RI) { in testVerifyMD2_chain()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 83 = new HashMap<String,Set<String>>(StandardNames.PROVIDER_ALGORITHMS); in test_Provider_getServices() 95 if (StandardNames.IS_RI && providerName.equals("BC")) { in test_Provider_getServices() 135 if (!(StandardNames.PROVIDER_ALGORITHMS.containsKey(type) in test_Provider_getServices() 136 && StandardNames.PROVIDER_ALGORITHMS.get(type).contains(algorithm))) { in test_Provider_getServices() 363 if (StandardNames.IS_RI) { in test_Provider_ConscryptOverridesBouncyCastle()
|
D | SignatureTest.java | 184 if (StandardNames.IS_RI) { in testSignature_getInstance_DelayedInitialization_KeyType() 188 if (!StandardNames.IS_RI) { in testSignature_getInstance_DelayedInitialization_KeyType()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | KeyAgreementTest.java | 47 import libcore.java.security.StandardNames; 761 if (StandardNames.IS_RI) { in testKeyAgreement_getInstance_DelayedInitialization_KeyType() 765 if (!StandardNames.IS_RI) { in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
|
D | MacTest.java | 48 import libcore.java.security.StandardNames; 1002 if (StandardNames.IS_RI) { in testMac_getInstance_DelayedInitialization_KeyType() 1006 if (!StandardNames.IS_RI) { in testMac_getInstance_DelayedInitialization_KeyType()
|
D | CipherTest.java | 50 import libcore.java.security.StandardNames; 550 assertTrue(StandardNames.IS_RI); in testDoFinalbyteArrayintintbyteArrayint() 552 assertFalse(StandardNames.IS_RI); in testDoFinalbyteArrayintintbyteArrayint()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 145 if (StandardNames.IS_RI) { 475 if (StandardNames.IS_RI) { in build() 756 if (StandardNames.IS_RI) { in createCertificate() 806 KeyStore keyStore = KeyStore.getInstance(StandardNames.KEY_STORE_ALGORITHM); in createKeyStore()
|
D | StandardNames.java | 65 public final class StandardNames { class
|