Home
last modified time | relevance | path

Searched refs:StandardNames (Results 1 – 23 of 23) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactory2Test.java40 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()
DKeyStore2Test.java52 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/
DTestTrustManager.java28 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()
DTestKeyManager.java28 import libcore.java.security.StandardNames;
82 if (!StandardNames.KEY_TYPES.contains(keyType)) { in assertKeyType()
DTestSSLContext.java46 import libcore.java.security.StandardNames;
61 private static final boolean IS_RI = StandardNames.IS_RI;
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLServerSocketFactoryTest.java28 import libcore.java.security.StandardNames;
67 if (!StandardNames.IS_RI) { in test_SSLServerSocketFactory_getDefault_cacheInvalidate()
DSSLSocketFactoryTest.java30 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/
DSSLSocketTest.java41 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;
DSSLServerSocketTest.java36 import libcore.java.security.StandardNames;
DSSLSessionTest.java46 import libcore.java.security.StandardNames;
DSSLEngineTest.java41 import libcore.java.security.StandardNames;
/libcore/luni/src/test/java/libcore/javax/crypto/
DSecretKeyFactoryTest.java28 import libcore.java.security.StandardNames;
197 if (!StandardNames.IS_RI) { in test_PBKDF2_8BIT()
DCipherTest.java30 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/
DX509CertificateTest.java60 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 …]
DX509CRLTest.java54 import libcore.java.security.StandardNames;
455 if (StandardNames.IS_RI) { in getSigAlgParams()
/libcore/luni/src/test/java/tests/targets/security/cert/
DCertificateTest.java35 import libcore.java.security.StandardNames;
656 if (StandardNames.IS_RI) { in testVerifyMD2_chain()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java83 = 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()
DSignatureTest.java184 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/
DKeyAgreementTest.java47 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()
DMacTest.java48 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()
DCipherTest.java50 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/
DTestKeyStore.java145 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()
DStandardNames.java65 public final class StandardNames { class