/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | KeyGeneratorTest.java | 37 import javax.crypto.KeyGenerator; 94 private KeyGenerator[] createKGs() throws Exception { in createKGs() 99 KeyGenerator [] kg = new KeyGenerator[3]; in createKGs() 100 kg[0] = KeyGenerator.getInstance(defaultAlgorithm); in createKGs() 101 kg[1] = KeyGenerator.getInstance(defaultAlgorithm, defaultProvider); in createKGs() 102 kg[2] = KeyGenerator.getInstance(defaultAlgorithm, defaultProviderName); in createKGs() 118 KeyGenerator keyG = new myKeyGenerator(spi, defaultProvider, in testKeyGenerator() 159 KeyGenerator.getInstance(null); in testGetInstanceString01() 166 KeyGenerator.getInstance(invalidValues[i]); in testGetInstanceString01() 182 KeyGenerator keyG; in testGetInstanceString02() [all …]
|
D | SealedObjectTest.java | 41 import javax.crypto.KeyGenerator; 103 KeyGenerator kg = KeyGenerator.getInstance("DES"); in testSealedObject1() 157 KeyGenerator kg = KeyGenerator.getInstance(algorithm); in testGetAlgorithm() 172 KeyGenerator kg = KeyGenerator.getInstance(algorithm); in testGetAlgorithmAfterSerialization() 202 KeyGenerator kg = KeyGenerator.getInstance("DES"); in testGetObject1() 246 KeyGenerator kg = KeyGenerator.getInstance("DES"); in testGetObject2() 293 KeyGenerator kg = KeyGenerator.getInstance("DES"); in testGetObject3() 307 kg = KeyGenerator.getInstance("DESede"); in testGetObject3() 328 KeyGenerator kg = KeyGenerator.getInstance("DES"); in testDeserialization()
|
D | ExemptionMechanismTest.java | 35 import javax.crypto.KeyGenerator; 435 KeyGenerator kg = KeyGenerator.getInstance("DES"); in test_initLjava_security_Key() 476 KeyGenerator kg = KeyGenerator.getInstance("DES"); in test_initLjava_security_KeyLjava_security_AlgorithmParameters() 517 KeyGenerator kg = KeyGenerator.getInstance("DES"); in test_initLjava_security_KeyLjava_security_spec_AlgorithmParameterSpec()
|
D | CipherInputStream1Test.java | 32 import javax.crypto.KeyGenerator; 255 KeyGenerator kg = KeyGenerator.getInstance("DES"); in test_ConstructorLjava_io_InputStreamLjavax_crypto_Cipher()
|
D | CipherOutputStream1Test.java | 41 import javax.crypto.KeyGenerator; 204 KeyGenerator kg = KeyGenerator.getInstance("DES"); in test_ConstructorLjava_io_OutputStreamLjavax_crypto_Cipher()
|
D | SecretKeyFactoryTest.java | 34 import javax.crypto.KeyGenerator; 456 KeyGenerator kg = null; in test_translateKeyLjavax_crypto_SecretKey() 464 kg = KeyGenerator.getInstance(secKF.getAlgorithm()); in test_translateKeyLjavax_crypto_SecretKey()
|
D | EncryptedPrivateKeyInfoTest.java | 46 import javax.crypto.KeyGenerator; 1615 KeyGenerator kg = (provider == null) ? KeyGenerator in TestDataGenerator() 1616 .getInstance(algName) : KeyGenerator.getInstance( in TestDataGenerator()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | KeyGenerator.java | 169 public class KeyGenerator { class 211 protected KeyGenerator(KeyGeneratorSpi keyGenSpi, Provider provider, in KeyGenerator() method in KeyGenerator 226 private KeyGenerator(String algorithm) throws NoSuchAlgorithmException { in KeyGenerator() method in KeyGenerator 289 public static final KeyGenerator getInstance(String algorithm) in getInstance() 291 return new KeyGenerator(algorithm); in getInstance() 330 public static final KeyGenerator getInstance(String algorithm, in getInstance() 337 return new KeyGenerator((KeyGeneratorSpi)instance.impl, in getInstance() 371 public static final KeyGenerator getInstance(String algorithm, in getInstance() 377 return new KeyGenerator((KeyGeneratorSpi)instance.impl, in getInstance()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherOutputStreamTest.java | 30 import javax.crypto.KeyGenerator; 50 KeyGenerator keygen = KeyGenerator.getInstance("AES"); in testDecryptCorruptGCM() 90 KeyGenerator keygen = KeyGenerator.getInstance("AES", "AndroidKeyStore"); in getAndroidKeyStoreSecretKey()
|
D | CipherInputStreamTest.java | 35 import javax.crypto.KeyGenerator; 307 KeyGenerator keygen = KeyGenerator.getInstance("AES"); in testDecryptCorruptGCM() 348 KeyGenerator keygen = KeyGenerator.getInstance("AES", "AndroidKeyStore"); in getAndroidKeyStoreSecretKey()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | CipherWrapThread.java | 23 import javax.crypto.KeyGenerator; 32 KeyGenerator kg = KeyGenerator.getInstance(getAlgName().replace("Wrap", "")); in crypt()
|
D | KeyGeneratorThread.java | 23 import javax.crypto.KeyGenerator; 31 KeyGenerator kg = KeyGenerator.getInstance(algName); in test()
|
D | CipherSymmetricKeyThread.java | 24 import javax.crypto.KeyGenerator; 42 KeyGenerator kg = KeyGenerator.getInstance(getAlgName()); in crypt()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CipherInputStreamBenchmark.java | 25 import javax.crypto.KeyGenerator; 59 KeyGenerator generator = KeyGenerator.getInstance("AES"); in setUp()
|
D | CipherBenchmark.java | 25 import javax.crypto.KeyGenerator; 106 KeyGenerator generator = KeyGenerator.getInstance(keyAlgorithm); in setUp()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/ |
D | DHPrivateKeyTest.java | 30 import javax.crypto.KeyGenerator;
|
/libcore/luni/src/test/java/libcore/sun/security/jca/ |
D | ProvidersTest.java | 46 import javax.crypto.KeyGenerator; 102 return KeyGenerator.getInstance("HMAC-MD5"); in CONSCRYPT_ALGORITHMS.add() 453 KeyGenerator.getInstance(algorithm, bcProvider); in testRemovedBCAlgorithms()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStoreTest.java | 45 import javax.crypto.KeyGenerator; 254 KeyGenerator keyGen = KeyGenerator.getInstance("DES"); in testEngineEntryInstanceOf()
|
/libcore/ |
D | openjdk_java_files.bp | 1238 "ojluni/src/main/java/javax/crypto/KeyGenerator.java",
|