Home
last modified time | relevance | path

Searched refs:PBEKeySpec (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DPBEKeySpecTest.java27 import javax.crypto.spec.PBEKeySpec;
44 PBEKeySpec pbeks = new PBEKeySpec(null); in testPBEKeySpec1()
52 PBEKeySpec pbeks = new PBEKeySpec(password); in testPBEKeySpec1()
72 PBEKeySpec pbeks = new PBEKeySpec(null, salt, in testPBEKeySpec2()
83 new PBEKeySpec(password, null, iterationCount, keyLength); in testPBEKeySpec2()
92 new PBEKeySpec(password, new byte [0], iterationCount, keyLength); in testPBEKeySpec2()
99 new PBEKeySpec(password, salt, -1, keyLength); in testPBEKeySpec2()
106 new PBEKeySpec(password, salt, iterationCount, -1); in testPBEKeySpec2()
113 new PBEKeySpec(password, salt, 0, keyLength); in testPBEKeySpec2()
120 new PBEKeySpec(password, salt, iterationCount, 0); in testPBEKeySpec2()
[all …]
/libcore/luni/src/test/java/libcore/javax/crypto/
DSecretKeyFactoryTest.java26 import javax.crypto.spec.PBEKeySpec;
55 KeySpec ks = new PBEKeySpec(null); in test_PBKDF2_required_parameters()
61 KeySpec ks = new PBEKeySpec(new char[0]); in test_PBKDF2_required_parameters()
67 KeySpec ks = new PBEKeySpec(PASSWORD); in test_PBKDF2_required_parameters()
76 KeySpec ks = new PBEKeySpec(null, SALT, ITERATIONS); in test_PBKDF2_required_parameters()
82 KeySpec ks = new PBEKeySpec(new char[0], SALT, ITERATIONS); in test_PBKDF2_required_parameters()
88 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS); in test_PBKDF2_required_parameters()
95 KeySpec ks = new PBEKeySpec(null, SALT, ITERATIONS, KEY_LENGTH); in test_PBKDF2_required_parameters()
102 KeySpec ks = new PBEKeySpec(new char[0], SALT, ITERATIONS, KEY_LENGTH); in test_PBKDF2_required_parameters()
108 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS, KEY_LENGTH); in test_PBKDF2_required_parameters()
[all …]
DMacTest.java28 import javax.crypto.spec.PBEKeySpec;
130 PBEKeySpec pbeKeySpec = new PBEKeySpec(password, in test_PBEWITHHMACSHA_Variants()
DCipherTest.java42 import javax.crypto.spec.PBEKeySpec;
635 PBEKeySpec pbeks = new PBEKeySpec("password".toCharArray(), in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_noIV()
668 PBEKeySpec pbeks = new PBEKeySpec("password".toCharArray(), in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_withIV()
/libcore/ojluni/src/main/java/javax/crypto/spec/
DPBEKeySpec.java64 public class PBEKeySpec implements KeySpec { class
80 public PBEKeySpec(char[] password) { in PBEKeySpec() method in PBEKeySpec
108 public PBEKeySpec(char[] password, byte[] salt, int iterationCount, in PBEKeySpec() method in PBEKeySpec
151 public PBEKeySpec(char[] password, byte[] salt, int iterationCount) { in PBEKeySpec() method in PBEKeySpec
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DCipherPBEThread.java25 import javax.crypto.spec.PBEKeySpec;
42 PBEKeySpec keySpec = new PBEKeySpec("top sicret password".toCharArray()); in crypt()
DSecretKeyFactoryThread.java23 import javax.crypto.spec.PBEKeySpec;
36 new PBEKeySpec("passw".toCharArray())); in test()
/libcore/luni/src/test/java/libcore/javax/crypto/spec/
DAlgorithmParametersTestPBES2.java27 import javax.crypto.spec.PBEKeySpec;
201 PBEKeySpec pbeKS = new PBEKeySpec("aaaaa".toCharArray()); in test_encryptWithAlgorithmParameters()
244 Key key = skf.generateSecret(new PBEKeySpec("aaaaa".toCharArray())); in test_encryptWithNoSalt()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DEncryptedPrivateKeyInfoTest.java49 import javax.crypto.spec.PBEKeySpec;
1642 PBEKeySpec ks = new PBEKeySpec("12345678".toCharArray()); in TestDataGenerator()
/libcore/
Dopenjdk_java_files.bp1321 "ojluni/src/main/java/javax/crypto/spec/PBEKeySpec.java",
DEXPECTED_UPSTREAM1318 …c/main/java/javax/crypto/spec/PBEKeySpec.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/jav…
/libcore/api/
Dcurrent.txt19288 public class PBEKeySpec implements java.security.spec.KeySpec {
19289 ctor public PBEKeySpec(char[]);
19290 ctor public PBEKeySpec(char[], byte[], int, int);
19291 ctor public PBEKeySpec(char[], byte[], int);