Home
last modified time | relevance | path

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

12

/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
DSslContextBuilder.java85 KeyPair keyPair = generateKeyPair(); in build()
107 private KeyPair generateKeyPair() throws GeneralSecurityException { in generateKeyPair() method in SslContextBuilder
110 return keyPairGenerator.generateKeyPair(); in generateKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyPairGeneratorSpi.java69 public KeyPair generateKeyPair() in generateKeyPair() method in KeyPairGeneratorSpi
71 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyPairGeneratorSpi.java63 public KeyPair generateKeyPair() in generateKeyPair() method in KeyPairGeneratorSpi
75 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DKeyPairGenerator3Test.java101 kp = kpg[i].generateKeyPair(); in testGenKeyPair01()
125 kp = kpg[i].generateKeyPair(); in testGenKeyPair02()
DKeyPairGenerator2Test.java110 keyPairGen.generateKeyPair(); in checkResult()
126 assertNull("Not null KeyPair", keyPairGen.generateKeyPair()); in checkResult()
135 assertNotNull("Null KeyPair", keyPairGen.generateKeyPair()); in checkResult()
167 assertNull("Not null KeyPair", keyPairGen.generateKeyPair()); in checkResult()
DKeyFactory2Test.java104 KeyPair keys = keyGen.generateKeyPair(); in test_generatePrivateLjava_security_spec_KeySpec()
145 KeyPair keys = keyGen.generateKeyPair(); in test_generatePublicLjava_security_spec_KeySpec()
254 KeyPair keys = keyGen.generateKeyPair(); in test_getKeySpecLjava_security_KeyLjava_lang_Class()
328 KeyPair keys = keyGen.generateKeyPair(); in test_translateKeyLjava_security_Key()
DKeyPairGenerator5Test.java42 assertNull(mockKeyPairGenerator.generateKeyPair()); in test_generateKeyPair()
DKeyPairGenerator1Test.java323 kp = kpg[i].generateKeyPair(); in testKeyPairGenerator10()
393 mKPG.generateKeyPair(); in testKeyPairGenerator12()
468 assertNull("generateKeyPair() mut return null", mKPG.generateKeyPair()); in testKeyPairGenerator13()
DKeyPairGeneratorSpiTest.java75 KeyPair kp = keyPairGen.generateKeyPair(); in testKeyPairGeneratorSpi01()
DKeyStorePrivateKeyEntryTest.java68 KeyPair keyPair = keyPairGenerator.generateKeyPair(); in testGetCertificateChain()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DKeyPairGeneratorSpi.java64 public KeyPair generateKeyPair() in generateKeyPair() method in KeyPairGeneratorSpi
112 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DAsymmetricCipherKeyPairGenerator.java20 public AsymmetricCipherKeyPair generateKeyPair(); in generateKeyPair() method
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DMyKeyPairGenerator3.java42 public KeyPair generateKeyPair() { in generateKeyPair() method in MyKeyPairGenerator3
DMyKeyPairGenerator2.java62 public KeyPair generateKeyPair() { in generateKeyPair() method in MyKeyPairGenerator2
DMyKeyPairGeneratorSpi.java47 public KeyPair generateKeyPair() { in generateKeyPair() method in MyKeyPairGeneratorSpi
DMyKeyPairGenerator1.java71 public KeyPair generateKeyPair() { in generateKeyPair() method in MyKeyPairGenerator1
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDHBasicKeyPairGenerator.java30 public AsymmetricCipherKeyPair generateKeyPair() in generateKeyPair() method in DHBasicKeyPairGenerator
DECKeyPairGenerator.java40 public AsymmetricCipherKeyPair generateKeyPair() in generateKeyPair() method in ECKeyPairGenerator
DDSAKeyPairGenerator.java34 public AsymmetricCipherKeyPair generateKeyPair() in generateKeyPair() method in DSAKeyPairGenerator
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLRSAKeyPairGenerator.java43 public KeyPair generateKeyPair() { in generateKeyPair() method in OpenSSLRSAKeyPairGenerator
DOpenSSLDHKeyPairGenerator.java41 public KeyPair generateKeyPair() { in generateKeyPair() method in OpenSSLDHKeyPairGenerator
DOpenSSLDSAKeyPairGenerator.java40 public KeyPair generateKeyPair() { in generateKeyPair() method in OpenSSLDSAKeyPairGenerator
DOpenSSLECKeyPairGenerator.java53 public KeyPair generateKeyPair() { in generateKeyPair() method in OpenSSLECKeyPairGenerator
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyPairGeneratorSpi.java216 public KeyPair generateKeyPair() in generateKeyPair() method in KeyPairGeneratorSpi.EC
223 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DEncodedKeySpec2Test.java41 KeyPair keys = keyGen.generateKeyPair(); in test_getEncoded()

12