/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator3Test.java | 67 KeyPairGenerator[] kpg = new KeyPairGenerator[3]; local 69 kpg[0] = KeyPairGenerator 71 kpg[1] = KeyPairGenerator.getInstance( 73 kpg[2] = KeyPairGenerator.getInstance( 75 return kpg; 95 KeyPairGenerator[] kpg = createKPGen(); local 96 assertNotNull("KeyPairGenerator objects were not created", kpg); 99 for (int i = 0; i < kpg.length; i++) { 100 kpg[i].initialize(512, rr); 101 kp = kpg[i].generateKeyPair() 121 KeyPairGenerator[] kpg = createKPGen(); local [all...] |
KeyPairGenerator1Test.java | 82 KeyPairGenerator[] kpg = new KeyPairGenerator[3]; local 84 kpg[0] = KeyPairGenerator.getInstance(validAlgName); 85 kpg[1] = KeyPairGenerator.getInstance(validAlgName, validProvider); 86 kpg[2] = KeyPairGenerator.getInstance(validAlgName, validProviderName); 87 return kpg; 126 KeyPairGenerator kpg; local 128 kpg = KeyPairGenerator.getInstance(algs[i]); 129 assertEquals("Incorrect algorithm ", kpg.getAlgorithm().toUpperCase(), 227 KeyPairGenerator kpg; local 229 kpg = KeyPairGenerator.getInstance(algs[i], validProviderName) 297 KeyPairGenerator kpg; local 318 KeyPairGenerator[] kpg = createKPGen(); local 350 KeyPairGenerator[] kpg = createKPGen(); local [all...] |
KeyStoreTest.java | 76 KeyStore[] kpg = new KeyStore[3]; local 78 kpg[0] = KeyStore.getInstance(defaultType); 79 kpg[1] = KeyStore.getInstance(defaultType, defaultProvider); 80 kpg[2] = KeyStore.getInstance(defaultType, defaultProviderName); 81 return kpg;
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator3Test.java | 68 KeyPairGenerator[] kpg = new KeyPairGenerator[3]; local 70 kpg[0] = KeyPairGenerator 72 kpg[1] = KeyPairGenerator.getInstance( 74 kpg[2] = KeyPairGenerator.getInstance( 76 return kpg; 96 KeyPairGenerator[] kpg = createKPGen(); local 97 assertNotNull("KeyPairGenerator objects were not created", kpg); 100 for (int i = 0; i < kpg.length; i++) { 101 kpg[i].initialize(512, rr); 102 kp = kpg[i].generateKeyPair() 122 KeyPairGenerator[] kpg = createKPGen(); local 141 MykeyPGen kpg; local [all...] |
KeyPairGenerator1Test.java | 81 KeyPairGenerator[] kpg = new KeyPairGenerator[3]; local 83 kpg[0] = KeyPairGenerator.getInstance(validAlgName); 84 kpg[1] = KeyPairGenerator.getInstance(validAlgName, validProvider); 85 kpg[2] = KeyPairGenerator.getInstance(validAlgName, validProviderName); 86 return kpg; 125 KeyPairGenerator kpg; local 127 kpg = KeyPairGenerator.getInstance(algs[i]); 128 assertEquals("Incorrect algorithm ", kpg.getAlgorithm().toUpperCase(), 227 KeyPairGenerator kpg; local 229 kpg = KeyPairGenerator.getInstance(algs[i], validProviderName) 297 KeyPairGenerator kpg; local 318 KeyPairGenerator[] kpg = createKPGen(); local 350 KeyPairGenerator[] kpg = createKPGen(); local [all...] |
KeyStoreTest.java | 76 KeyStore[] kpg = new KeyStore[3]; local 78 kpg[0] = KeyStore.getInstance(defaultType); 79 kpg[1] = KeyStore.getInstance(defaultType, defaultProvider); 80 kpg[2] = KeyStore.getInstance(defaultType, defaultProviderName); 81 return kpg;
|
/libcore/luni/src/test/java/libcore/java/security/ |
KeyPairGeneratorTest.java | 226 private void test_KeyPairGenerator(KeyPairGenerator kpg) throws Exception { 228 test_KeyPair(kpg, kpg.genKeyPair()); 229 test_KeyPair(kpg, kpg.generateKeyPair()); 231 String algorithm = kpg.getAlgorithm(); 242 kpg.initialize(keySize); 243 test_KeyPair(kpg, kpg.genKeyPair()); 244 test_KeyPair(kpg, kpg.generateKeyPair()) 436 final KeyPairGenerator kpg = KeyPairGenerator.getInstance("DSA", p); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
CipherRSAThread.java | 36 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA"); local 37 kpg.initialize(getKeyLength()); 38 KeyPair kp = kpg.generateKeyPair();
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KeyStore_Impl3Test.java | 60 KeyStore[] kpg = new KeyStore[3]; local 62 kpg[0] = KeyStore.getInstance(defaultType); 63 kpg[1] = KeyStore.getInstance(defaultType, defaultProvider); 64 kpg[2] = KeyStore.getInstance(defaultType, defaultProviderName); 65 return kpg;
|
KeyStore_Impl1Test.java | 68 KeyStore[] kpg = new KeyStore[3]; local 70 kpg[0] = KeyStore.getInstance(defaultType); 71 kpg[1] = KeyStore.getInstance(defaultType, defaultProvider); 72 kpg[2] = KeyStore.getInstance(defaultType, defaultProviderName); 73 return kpg; [all...] |
/libcore/ojluni/src/main/java/java/security/ |
KeyPairGenerator.java | 181 KeyPairGenerator kpg; local 183 kpg = (KeyPairGenerator)instance.impl; 186 kpg = new Delegate(spi, algorithm); 188 kpg.provider = instance.provider; 189 return kpg;
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
HandshakeProtocolTest.java | 212 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA"); local 213 kpg.initialize(512); 214 PublicKey key = kpg.genKeyPair().getPublic();
|
/development/samples/ApiDemos/src/com/example/android/apis/security/ |
KeyStoreUsage.java | 312 KeyPairGenerator kpg = KeyPairGenerator.getInstance( local 314 kpg.initialize(new KeyGenParameterSpec.Builder( 321 KeyPair kp = kpg.generateKeyPair();
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/est/ |
ESTHandler.java | 465 KeyPairGenerator kpg = KeyPairGenerator.getInstance(keyAlgo); local 469 kpg.initialize(algorithmParameters 472 kpg.initialize(keySize); 474 KeyPair kp = kpg.generateKeyPair();
|
/libcore/support/src/test/java/libcore/java/security/ |
TestKeyStore.java | 545 KeyPairGenerator kpg = KeyPairGenerator.getInstance(keyAlgorithm); local 547 kpg.initialize(spec); 549 kpg.initialize(keySize); 554 KeyPair kp = kpg.generateKeyPair(); [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
CertificateFactoryTest.java | 532 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA"); local 533 KeyPair keyPair = kpg.generateKeyPair();
|
X509CertificateTest.java | 331 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA"); local 332 KeyPair pair = kpg.generateKeyPair(); [all...] |
/external/conscrypt/src/test/java/org/conscrypt/ |
NativeCryptoTest.java | 220 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA"); local 221 kpg.initialize(512); 223 KeyPair kp1 = kpg.generateKeyPair(); 226 KeyPair kp2 = kpg.generateKeyPair(); 2688 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA"); local [all...] |
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
EncryptedPrivateKeyInfoTest.java | 1552 KeyPairGenerator kpg = (provider == null) ? KeyPairGenerator local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
EncryptedPrivateKeyInfoTest.java | 1624 KeyPairGenerator kpg = (provider == null) ? KeyPairGenerator local [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
AndroidKeyStoreTest.java | 1926 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA", "AndroidKeyStore"); local [all...] |
/prebuilts/tools/common/m2/repository/biz/aQute/bndlib/1.50.0/ |
bndlib-1.50.0.jar | |
/prebuilts/tools/common/m2/repository/biz/aQute/bnd/1.50.0/ |
bnd-1.50.0.jar | |
/prebuilts/devtools/tools/lib/ |
bcprov-jdk15on-1.48.jar | |
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/ |
bcprov-jdk15on-1.48.jar | |