Home
last modified time | relevance | path

Searched refs:SecretKeyFactory (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DSecretKeyFactoryTest.java36 import javax.crypto.SecretKeyFactory;
97 protected SecretKeyFactory[] createSKFac() { in createSKFac()
102 SecretKeyFactory[] skF = new SecretKeyFactory[3]; in createSKFac()
104 skF[0] = SecretKeyFactory.getInstance(defaultAlgorithm); in createSKFac()
105 skF[1] = SecretKeyFactory.getInstance(defaultAlgorithm, in createSKFac()
107 skF[2] = SecretKeyFactory.getInstance(defaultAlgorithm, in createSKFac()
127 SecretKeyFactory secKF = new mySecretKeyFactory(spi, defaultProvider, in testSecretKeyFactory01()
153 SecretKeyFactory.getInstance(null); in testSecretKeyFactory02()
160 SecretKeyFactory.getInstance(invalidValues[i]); in testSecretKeyFactory02()
177 SecretKeyFactory secKF = SecretKeyFactory in testSecretKeyFactory03()
[all …]
DCipherTest.java45 import javax.crypto.SecretKeyFactory;
329 SecretKeyFactory skf = SecretKeyFactory.getInstance("DESEDE"); in test_update$BII()
387 SecretKeyFactory skf = SecretKeyFactory.getInstance("DESEDE"); in test_doFinal()
DEncryptedPrivateKeyInfoTest.java48 import javax.crypto.SecretKeyFactory;
1639 SecretKeyFactory skf = (provider == null) ? SecretKeyFactory in TestDataGenerator()
1641 : SecretKeyFactory.getInstance(algName, provider); in TestDataGenerator()
/libcore/ojluni/src/main/java/javax/crypto/
DSecretKeyFactory.java211 public class SecretKeyFactory { class
236 protected SecretKeyFactory(SecretKeyFactorySpi keyFacSpi, in SecretKeyFactory() method in SecretKeyFactory
243 private SecretKeyFactory(String algorithm) throws NoSuchAlgorithmException { in SecretKeyFactory() method in SecretKeyFactory
285 public static final SecretKeyFactory getInstance(String algorithm) in getInstance()
287 return new SecretKeyFactory(algorithm); in getInstance()
328 public static final SecretKeyFactory getInstance(String algorithm, in getInstance()
333 return new SecretKeyFactory((SecretKeyFactorySpi)instance.impl, in getInstance()
369 public static final SecretKeyFactory getInstance(String algorithm, in getInstance()
373 return new SecretKeyFactory((SecretKeyFactorySpi)instance.impl, in getInstance()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DSecretKeyFactoryThread.java20 import javax.crypto.SecretKeyFactory;
32 SecretKeyFactory skf = SecretKeyFactory.getInstance(algName); in test()
DCipherPBEThread.java24 import javax.crypto.SecretKeyFactory;
43 SecretKeyFactory skf = SecretKeyFactory.getInstance(getAlgName()); in crypt()
/libcore/luni/src/test/java/libcore/javax/crypto/
DSecretKeyFactoryTest.java23 import javax.crypto.SecretKeyFactory;
46 SecretKeyFactory factory = SecretKeyFactory.getInstance("PBKDF2WithHmacSHA1"); in test_PBKDF2_required_parameters()
196 SecretKeyFactory factory = SecretKeyFactory.getInstance("PBKDF2WithHmacSHA1And8bit"); in test_PBKDF2_8BIT()
206 SecretKeyFactory factory = SecretKeyFactory.getInstance("PBKDF2WithHmacSHA1"); in test_PBKDF2_UTF8()
DCipherTest.java57 import javax.crypto.SecretKeyFactory;
259 SecretKeyFactory skf = SecretKeyFactory.getInstance(algorithm); in getEncryptKey()
3797 SecretKeyFactory skf = in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_noIV()
3798 SecretKeyFactory.getInstance("PBKDF2WITHHMACSHA1"); in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_noIV()
3832 SecretKeyFactory skf = in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_withIV()
3833 SecretKeyFactory.getInstance("PBKDF2WITHHMACSHA1"); in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_withIV()
/libcore/ojluni/src/main/java/java/security/
DKeyRep.java34 import javax.crypto.SecretKeyFactory;
/libcore/
Dopenjdk_java_files.mk946 ojluni/src/main/java/javax/crypto/SecretKeyFactory.java \