Home
last modified time | relevance | path

Searched refs:translateKey (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactoryTest.java386 Key translateKey = factory.translateKey(key); in testTranslateKey() local
387 assertNotNull(translateKey); in testTranslateKey()
388 assertEquals(translate, translateKey.getClass()); in testTranslateKey()
412 factory.translateKey(key); in testTranslateKey()
DKeyFactory2Test.java300 fact.translateKey(keys.getPrivate()); in test_translateKeyLjava_security_Key()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DSecretKeyFactoryTest.java134 assertNull("Incorrect result", secKF.translateKey(null)); in testSecretKeyFactory01()
139 secKF.translateKey(null); in testSecretKeyFactory01()
468 secKF.translateKey((SecretKey) key); in test_translateKeyLjavax_crypto_SecretKey()
471 secKF.translateKey(null); in test_translateKeyLjavax_crypto_SecretKey()
/libcore/ojluni/src/main/java/javax/crypto/
DSecretKeyFactory.java594 public final SecretKey translateKey(SecretKey key) in translateKey() method in SecretKeyFactory
/libcore/ojluni/src/main/java/java/security/
DKeyFactory.java489 public final Key translateKey(Key key) throws InvalidKeyException { in translateKey() method in KeyFactory
/libcore/api/
Dcurrent.txt8118 …method public final java.security.Key translateKey(java.security.Key) throws java.security.Invalid…
19171 …method public final javax.crypto.SecretKey translateKey(javax.crypto.SecretKey) throws java.securi…