Home
last modified time | relevance | path

Searched refs:getAlgorithm (Results 1 – 25 of 124) sorted by relevance

12345

/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DKeyGeneratorThread.java33 if(kg.getAlgorithm().toLowerCase().equals(k.getAlgorithm().toLowerCase()) != true) { in test()
37 if(kg.getAlgorithm().toLowerCase().equals(algName.toLowerCase()) != true) { in test()
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyKeyPairGenerator1.java54 public String getAlgorithm() { in getAlgorithm() method in MyKeyPairGenerator1
107 public String getAlgorithm() { in getAlgorithm() method in MyKeyPairGenerator1.PubKey
133 public String getAlgorithm() { in getAlgorithm() method in MyKeyPairGenerator1.PrivKey
DKeyStoreTestSupport.java73 public String getAlgorithm() { in getAlgorithm() method in KeyStoreTestSupport.SKey
102 public String getAlgorithm() { in getAlgorithm() method in KeyStoreTestSupport.MyPrivateKey
150 public String getAlgorithm() { in getPublicKey()
DPublicKeyStub.java54 public String getAlgorithm() { in getAlgorithm() method in PublicKeyStub
DPrivateKeyStub.java57 public String getAlgorithm() { in getAlgorithm() method in PrivateKeyStub
DMyKeyPairGenerator2.java44 public String getAlgorithm() { in getAlgorithm() method in MyKeyPairGenerator2
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
DAlgorithmIdentifier.java96 public String getAlgorithm() { in getAlgorithm() method in AlgorithmIdentifier
157 buffer.append(getAlgorithm()); in dumpValue()
179 values[0] = ObjectIdentifier.toIntArray(aID.getAlgorithm());
DX509PublicKey.java36 public String getAlgorithm() { in getAlgorithm() method in X509PublicKey
/dalvik/libcore/security/src/main/java/java/security/
DKey.java51 public String getAlgorithm(); in getAlgorithm() method
DSignedObject.java95 thealgorithm = signingEngine.getAlgorithm(); in SignedObject()
140 public String getAlgorithm() { in getAlgorithm() method in SignedObject
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
DOpenSSLMessageDigestJDK.java53 NativeCrypto.EVP_DigestInit(ctx, getAlgorithm().replace("-", "").toLowerCase()); in OpenSSLMessageDigestJDK()
69 NativeCrypto.EVP_DigestInit(ctx, getAlgorithm().replace("-", "").toLowerCase()); in engineReset()
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
DAlgorithmParameterGenerator1Test.java144 assertEquals("Incorrect algorithm", apg.getAlgorithm(), algs[i]); in testAlgorithmParameterGenerator02()
269 assertEquals("Incorrect algorithm", algs[i], apg.getAlgorithm()); in testAlgorithmParameterGenerator06()
358 assertEquals("Incorrect algorithm", apg.getAlgorithm(), algs[i]); in testAlgorithmParameterGenerator09()
383 assertEquals("Incorrect algorithm", ap.getAlgorithm().toUpperCase(), in testAlgorithmParameterGenerator10()
384 apg.getAlgorithm().toUpperCase()); in testAlgorithmParameterGenerator10()
464 assertEquals("Incorrect algorithm", apg.getAlgorithm(), validAlgName); in testConstructor()
473 assertNull("Incorrect algorithm", apg.getAlgorithm()); in testConstructor()
DPublicKeyTest.java55 public String getAlgorithm() { in getAlgorithm() method in PublicKeyTest.checkPublicKey
/dalvik/libcore/security/src/test/java/tests/security/cert/
DCertPathValidator1Test.java180 assertEquals("Incorrect algorithm", certPV.getAlgorithm(), validValues[i]); in testCertPathValidator03()
295 assertEquals("Incorrect algorithm", certPV.getAlgorithm(), in testCertPathValidator07()
380 assertEquals("Incorrect algorithm", certPV.getAlgorithm(), in testCertPathValidator10()
443 assertEquals("Incorrect algorithm", certPV.getAlgorithm(), defaultType); in testCertPathValidator12()
452 assertNull("Incorrect algorithm", certPV.getAlgorithm()); in testCertPathValidator12()
478 assertEquals("Incorrect algorithm", certPV.getAlgorithm(), in testCertPathValidator13()
483 assertEquals("Incorrect algorithm", certPV.getAlgorithm(), in testCertPathValidator13()
491 assertEquals("Incorrect algorithm", certPV.getAlgorithm(), in testCertPathValidator13()
DCertPathBuilder1Test.java161 assertEquals("Incorrect algorithm", cpb.getAlgorithm(), validValues[i]); in testCertPathBuilder03()
275 assertEquals("Incorrect algorithm", certPB.getAlgorithm(), validValues[i]); in testCertPathBuilder07()
356 assertEquals("Incorrect algorithm", certPB.getAlgorithm(), validValues[i]); in testCertPathBuilder10()
432 assertEquals("Incorrect algorithm", certPB.getAlgorithm(), defaultType); in testCertPathBuilder12()
440 assertNull("Incorrect algorithm", certPB.getAlgorithm()); in testCertPathBuilder12()
467 assertEquals("Incorrect algorithm", cpb.getAlgorithm(), in testCertPathBuilder13()
472 assertEquals("Incorrect algorithm", cpb.getAlgorithm(), in testCertPathBuilder13()
482 assertEquals("Incorrect algorithm", cpb.getAlgorithm(), in testCertPathBuilder13()
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorTest.java133 assertEquals("Incorrect algorithm", keyG.getAlgorithm(), in testKeyGenerator()
149 assertNull("Algorithm must be null", keyG.getAlgorithm()); in testKeyGenerator()
210 assertEquals("Incorrect algorithm", keyG.getAlgorithm(), validValues[i]); in testGetInstanceString02()
309 assertEquals("Incorrect algorithm", keyG.getAlgorithm(), validValues[i]); in testGetInstanceStringString03()
392 assertEquals("Incorrect algorithm", keyA.getAlgorithm(), validValues[i]); in testGetInstanceStringProvider03()
536 assertEquals("Incorrect algorithm", sKey.getAlgorithm() in testGenerateKey()
540 assertEquals("Incorrect algorithm", sKey.getAlgorithm() in testGenerateKey()
544 assertEquals("Incorrect algorithm", sKey.getAlgorithm() in testGenerateKey()
548 assertEquals("Incorrect algorithm", sKey.getAlgorithm() in testGenerateKey()
564 assertEquals(validAlgorithmsKeyGenerator[i], kg.getAlgorithm()); in test_getAlgorithm()
[all …]
DSealedObjectTest.java95 .getAlgorithm(), so_des.getAlgorithm()); in testReadObject()
166 + "initial object", so1.getAlgorithm(), so2.getAlgorithm()); in testSealedObject2()
190 + "in cipher.", algorithm, so.getAlgorithm()); in testGetAlgorithm()
DSecretKeyFactoryTest.java142 assertEquals("Incorrect algorithm", secKF.getAlgorithm(), in testSecretKeyFactory01()
149 assertNull("Algorithm must be null", secKF.getAlgorithm()); in testSecretKeyFactory01()
204 assertEquals("Incorrect algorithm", secKF.getAlgorithm(), in testSecretKeyFactory03()
311 assertEquals("Incorrect algorithm", secKF.getAlgorithm(), in testSecretKeyFactory06()
397 assertEquals("Incorrect algorithm", secKF.getAlgorithm(), in testSecretKeyFactory09()
521 assertEquals("Incorrect algorithm", secKF.getAlgorithm(), in test_getAlgorithm()
526 assertNull(msf.getAlgorithm()); in test_getAlgorithm()
577 kg = KeyGenerator.getInstance(secKF.getAlgorithm()); in test_translateKeyLjavax_crypto_SecretKey()
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/support/
DMyExemptionMechanismSpi.java117 public String getAlgorithm() { in getAlgorithm() method in MyExemptionMechanismSpi.tmpKey
130 public String getAlgorithm() { in getAlgorithm() method in MyExemptionMechanismSpi.tmp1Key
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/
DKeyManagerFactory1Test.java118 .getInstance(defaultAlgorithm).getAlgorithm()); in test_getAlgorithm()
123 .getAlgorithm()); in test_getAlgorithm()
127 .getAlgorithm()); in test_getAlgorithm()
184 assertEquals("Invalid algorithm", keyMF.getAlgorithm(), in test_getInstanceLjava_lang_String01()
339 assertEquals("Incorrect algorithm", kMF.getAlgorithm(), in test_getInstanceLjava_lang_StringLjava_lang_String04()
430 assertEquals(kMF.getAlgorithm(), validValues[i]); in test_getInstanceLjava_lang_StringLjava_security_Provider03()
453 assertEquals("Incorrect algorithm", keyMF.getAlgorithm(), in test_Constructor()
464 assertNull("Aalgorithm must be null", keyMF.getAlgorithm()); in test_Constructor()
DTrustManagerFactory1Test.java133 assertEquals("Incorrect algorithm", tmF.getAlgorithm(), in test_ConstructorLjavax_net_ssl_TrustManagerFactorySpiLjava_security_ProviderLjava_lang_String()
141 assertNull("Algorithm must be null", tmF.getAlgorithm()); in test_ConstructorLjavax_net_ssl_TrustManagerFactorySpiLjava_security_ProviderLjava_lang_String()
167 .getInstance(defaultAlgorithm).getAlgorithm()); in test_getAlgorithm()
172 .getAlgorithm()); in test_getAlgorithm()
176 .getAlgorithm()); in test_getAlgorithm()
233 assertEquals("Invalid algorithm", trustMF.getAlgorithm(), in test_getInstanceLjava_lang_String01()
389 assertEquals("Invalid algorithm", trustMF.getAlgorithm(), in test_getInstanceLjava_lang_StringLjava_lang_String04()
479 assertEquals("Invalid algorithm", trustMF.getAlgorithm(), in test_getInstanceLjava_lang_StringLjava_security_Provider03()
/dalvik/libcore/security/src/test/java/tests/java/security/
DSecureRandomTest.java133 if (!sr.getAlgorithm().equals("someRandom") || in testSecureRandom()
175 if (sr.getProvider() != p || !"someRandom".equals(sr.getAlgorithm())) { in testGetInstanceString()
191 if (sr.getProvider() != p || !"someRandom".equals(sr.getAlgorithm())) { in testGetInstanceStringString()
260 if (sr.getProvider() != p || !"someRandom".equals(sr.getAlgorithm())) { in testGetInstanceStringProvider()
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/spec/
DIEKeySpec.java50 public String getAlgorithm() in getAlgorithm() method in IEKeySpec
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/
DPrivateKeyImpl.java41 public String getAlgorithm() { in getAlgorithm() method in PrivateKeyImpl
DPublicKeyImpl.java45 public String getAlgorithm() { in getAlgorithm() method in PublicKeyImpl

12345