Home
last modified time | relevance | path

Searched refs:generateKeyPair (Results 1 – 25 of 29) sorted by relevance

12

/libcore/support/src/test/java/libcore/javax/net/ssl/
DRandomPrivateKeyX509ExtendedKeyManager.java65 result = keyPairGenerator.generateKeyPair().getPrivate(); in getPrivateKey()
74 result = keyPairGenerator.generateKeyPair().getPrivate(); in getPrivateKey()
78 result = keyPairGenerator.generateKeyPair().getPrivate(); in getPrivateKey()
/libcore/luni/src/test/java/tests/security/interfaces/
DDSAKeyTest.java43 key = (DSAKey) gen.generateKeyPair().getPrivate(); in test_getParams()
47 key = (DSAKey) gen.generateKeyPair().getPublic(); in test_getParams()
DDSAPublicKeyTest.java46 keys = keyGen.generateKeyPair(); in test_getY()
54 keys = keyGen.generateKeyPair(); in test_getY()
DDSAPrivateKeyTest.java36 KeyPair keyPair = keyGen.generateKeyPair(); in test_getX()
/libcore/ojluni/src/main/java/java/security/
DKeyPairGenerator.java497 return generateKeyPair(); in genKeyPair()
514 public KeyPair generateKeyPair() { in generateKeyPair() method in KeyPairGenerator
725 public KeyPair generateKeyPair() { in generateKeyPair() method in KeyPairGenerator.Delegate
727 return spi.generateKeyPair(); in generateKeyPair()
733 return mySpi.generateKeyPair(); in generateKeyPair()
DKeyPairGeneratorSpi.java105 public abstract KeyPair generateKeyPair(); in generateKeyPair() method in KeyPairGeneratorSpi
/libcore/luni/src/test/java/libcore/java/security/
DOldKeyPairGeneratorTestDH.java30 KeyPair keyPair = generator.generateKeyPair(); in testKeyPairGenerator()
DOldDHTest.java46 KeyPair key = gen.generateKeyPair(); in testDHGen()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyKeyPairGenerator3.java44 public KeyPair generateKeyPair() { in generateKeyPair() method in MyKeyPairGenerator3
DMyKeyPairGenerator2.java64 public KeyPair generateKeyPair() { in generateKeyPair() method in MyKeyPairGenerator2
DMyKeyPairGeneratorSpi.java49 public KeyPair generateKeyPair() { in generateKeyPair() method in MyKeyPairGeneratorSpi
DMyKeyPairGenerator1.java73 public KeyPair generateKeyPair() { in generateKeyPair() method in MyKeyPairGenerator1
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyPairGenerator2Test.java113 keyPairGen.generateKeyPair(); in checkResult()
129 assertNull("Not null KeyPair", keyPairGen.generateKeyPair()); in checkResult()
138 assertNotNull("Null KeyPair", keyPairGen.generateKeyPair()); in checkResult()
170 assertNull("Not null KeyPair", keyPairGen.generateKeyPair()); in checkResult()
DKeyPairGenerator3Test.java102 kp = kpg[i].generateKeyPair(); in testGenKeyPair01()
126 kp = kpg[i].generateKeyPair(); in testGenKeyPair02()
DKeyFactory2Test.java117 KeyPair keys = keyGen.generateKeyPair(); in test_generatePrivateLjava_security_spec_KeySpec()
147 KeyPair keys = keyGen.generateKeyPair(); in test_generatePublicLjava_security_spec_KeySpec()
239 KeyPair keys = keyGen.generateKeyPair(); in test_getKeySpecLjava_security_KeyLjava_lang_Class()
296 KeyPair keys = keyGen.generateKeyPair(); in test_translateKeyLjava_security_Key()
DKeyPairGeneratorSpiTest.java72 KeyPair kp = keyPairGen.generateKeyPair(); in testKeyPairGeneratorSpi01()
DKeyStorePrivateKeyEntryTest.java68 KeyPair keyPair = keyPairGenerator.generateKeyPair(); in testGetCertificateChain()
DKeyPairGenerator1Test.java323 kp = kpg[i].generateKeyPair(); in testKeyPairGenerator10()
393 mKPG.generateKeyPair(); in testKeyPairGenerator12()
468 assertNull("generateKeyPair() mut return null", mKPG.generateKeyPair()); in testKeyPairGenerator13()
/libcore/ojluni/annotations/hiddenapi/java/security/
DKeyPairGenerator.java95 public java.security.KeyPair generateKeyPair() { in generateKeyPair() method in KeyPairGenerator
142 public java.security.KeyPair generateKeyPair() { in generateKeyPair() method in KeyPairGenerator.Delegate
/libcore/benchmarks/src/benchmarks/regression/
DKeyPairGeneratorBenchmark.java59 KeyPair keyPair = generator.generateKeyPair(); in time()
DSignatureBenchmark.java75 keyPair = generator.generateKeyPair(); in setUp()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DCipherRSAThread.java38 KeyPair kp = kpg.generateKeyPair(); in crypt()
DKeyAgreementThread.java40 KeyPair keypair = keyGen.generateKeyPair(); in KeyAgreementGen()
/libcore/luni/src/test/java/tests/security/spec/
DEncodedKeySpec2Test.java42 KeyPair keys = keyGen.generateKeyPair(); in test_getEncoded()
/libcore/luni/src/test/java/tests/targets/security/
DKeyStoreTest.java120 KeyPair keyPair = generator.generateKeyPair(); in testKeyStoreCreate()

12