Home
last modified time | relevance | path

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

123

/external/wycheproof/java/com/google/security/wycheproof/testcases/
DDhTest.java200 KeyPair keyPairA = keyGen.generateKeyPair(); in testDh()
201 KeyPair keyPairB = keyGen.generateKeyPair(); in testDh()
329 KeyPair keyPair = keyGen.generateKeyPair(); in testKeyPairGenerator()
338 KeyPair keyPairA = keyGen.generateKeyPair(); in testDHDistinctParameters()
341 KeyPair keyPairB = keyGen.generateKeyPair(); in testDHDistinctParameters()
374 PrivateKey priv = keyGen.generateKeyPair().getPrivate(); in testSubgroupConfinement()
DEciesTest.java77 KeyPair keyPair = kf.generateKeyPair(); in testEciesBasic()
140 KeyPair keyPair = kf.generateKeyPair(); in testKeyGeneration()
169 KeyPair keyPair = kf.generateKeyPair(); in testExceptions()
206 KeyPair keyPair = kf.generateKeyPair(); in testModifyPoint()
246 KeyPair keyPair = kf.generateKeyPair(); in testNotEcb()
284 KeyPair keyPair = kf.generateKeyPair(); in testIsAlias()
DDhiesTest.java83 KeyPair keyPair = kf.generateKeyPair(); in testDhiesBasic()
111 KeyPair keyPair = kf.generateKeyPair(); in testDhiesCorrupt()
155 KeyPair keyPair = kf.generateKeyPair(); in testNotEcb()
DEcKeyTest.java156 KeyPair keyPair = keyGen.generateKeyPair(); in testEncodedPrivateKey()
179 keyPair = keyGen.generateKeyPair(); in testKeyGeneration()
221 KeyPair keyPair = keyGen.generateKeyPair(); in testDefaultKeyGeneration()
DEcdhTest.java839 KeyPair keyPairA = keyGen.generateKeyPair(); in testBasic()
840 KeyPair keyPairB = keyGen.generateKeyPair(); in testBasic()
903 ECPrivateKey priv = (ECPrivateKey) keyGen.generateKeyPair().getPrivate(); in testModifiedPublic()
948 ECPrivateKey priv = (ECPrivateKey) keyGen.generateKeyPair().getPrivate(); in testModifiedPublicSpec()
1070 priv = (ECPrivateKey) keyGen.generateKeyPair().getPrivate(); in testWrongOrder()
1071 pub = (ECPublicKey) keyGen.generateKeyPair().getPublic(); in testWrongOrder()
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/
DKeyPairGeneratorTest.java180 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
204 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
208 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
212 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
225 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
229 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
233 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
443 KeyPair pair = kpg.generateKeyPair(); in testDSAGeneratorWithParams()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/
DKeyPairGeneratorTest.java184 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
208 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
212 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
216 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
229 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
233 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
237 test_KeyPair(kpg, kpg.generateKeyPair()); in test_KeyPairGenerator()
446 KeyPair pair = kpg.generateKeyPair(); in testDSAGeneratorWithParams()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DRandomPrivateKeyX509ExtendedKeyManager.java63 result = keyPairGenerator.generateKeyPair().getPrivate(); in getPrivateKey()
72 result = keyPairGenerator.generateKeyPair().getPrivate(); in getPrivateKey()
76 result = keyPairGenerator.generateKeyPair().getPrivate(); in getPrivateKey()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DRandomPrivateKeyX509ExtendedKeyManager.java61 result = keyPairGenerator.generateKeyPair().getPrivate(); in getPrivateKey()
70 result = keyPairGenerator.generateKeyPair().getPrivate(); in getPrivateKey()
74 result = keyPairGenerator.generateKeyPair().getPrivate(); in getPrivateKey()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
DHeldCertificate.java100 : generateKeyPair(); in build()
138 public KeyPair generateKeyPair() throws GeneralSecurityException { in generateKeyPair() method in HeldCertificate.Builder
142 return keyPairGenerator.generateKeyPair(); in generateKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyPairGeneratorSpi.java83 public KeyPair generateKeyPair() in generateKeyPair() method in KeyPairGeneratorSpi
85 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyPairGeneratorSpi.java87 public KeyPair generateKeyPair() in generateKeyPair() method in KeyPairGeneratorSpi
89 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyPairGeneratorSpi.java87 public KeyPair generateKeyPair() in generateKeyPair() method in KeyPairGeneratorSpi
89 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DKeyPairGeneratorSpi.java95 public KeyPair generateKeyPair() in generateKeyPair() method in KeyPairGeneratorSpi
143 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DAsymmetricCipherKeyPairGenerator.java20 public AsymmetricCipherKeyPair generateKeyPair(); in generateKeyPair() method
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DAsymmetricCipherKeyPairGenerator.java22 public AsymmetricCipherKeyPair generateKeyPair(); in generateKeyPair() method
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/
DAsymmetricCipherKeyPairGenerator.java22 public AsymmetricCipherKeyPair generateKeyPair(); in generateKeyPair() method
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/dh/
DKeyPairGeneratorSpi.java99 public KeyPair generateKeyPair() in generateKeyPair() method in KeyPairGeneratorSpi
147 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
DKeyPairGeneratorSpi.java99 public KeyPair generateKeyPair() in generateKeyPair() method in KeyPairGeneratorSpi
147 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyPairGeneratorSpi.java101 public KeyPair generateKeyPair() in generateKeyPair() method in KeyPairGeneratorSpi
170 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyPairGeneratorSpi.java105 public KeyPair generateKeyPair() in generateKeyPair() method in KeyPairGeneratorSpi
174 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyPairGeneratorSpi.java105 public KeyPair generateKeyPair() in generateKeyPair() method in KeyPairGeneratorSpi
174 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLXDHKeyPairGenerator.java40 public KeyPair generateKeyPair() { in generateKeyPair() method in OpenSSLXDHKeyPairGenerator
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLXDHKeyPairGenerator.java38 public KeyPair generateKeyPair() { in generateKeyPair() method in OpenSSLXDHKeyPairGenerator
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DAlgorithmParameterKeyAgreementHelper.java39 KeyPair keyPair = generator.generateKeyPair(); in test()

123