Home
last modified time | relevance | path

Searched refs:genKeyPair (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyPairGenerator4Test.java36 assertNotNull("KeyPair is null", gen.genKeyPair()); in test_genKeyPair()
112 DSAPublicKey key = (DSAPublicKey) keyPairGenerator.genKeyPair() in test_initializeLjava_security_spec_AlgorithmParameterSpec()
130 DSAPublicKey key = (DSAPublicKey) keyPairGenerator.genKeyPair() in test_initializeLjava_security_spec_AlgorithmParameterSpecLjava_security_SecureRandom()
DKeyPairGenerator3Test.java103 kp1 = kpg[i].genKeyPair(); in testGenKeyPair01()
127 kp1 = kpg[i].genKeyPair(); in testGenKeyPair02()
DKeyPairGenerator2Test.java114 keyPairGen.genKeyPair(); in checkResult()
130 assertNull("Not null KeyPair", keyPairGen.genKeyPair()); in checkResult()
139 assertNotNull("Null KeyPair", keyPairGen.genKeyPair()); in checkResult()
171 assertNull("Not null KeyPair", keyPairGen.genKeyPair()); in checkResult()
DKeyPairGenerator1Test.java324 kp1 = kpg[i].genKeyPair(); in testKeyPairGenerator10()
394 mKPG.genKeyPair(); in testKeyPairGenerator12()
467 assertNull("genKeyPair() must return null", mKPG.genKeyPair()); in testKeyPairGenerator13()
DIdentityScope2Test.java36 PUB_KEY = KeyPairGenerator.getInstance("DSA").genKeyPair().getPublic(); in getPubKey()
275 PublicKey anotherKey = KeyPairGenerator.getInstance("DSA").genKeyPair().getPublic(); in test_getIdentityLjava_security_PublicKey()
DIdentity2Test.java40 PUB_KEY = KeyPairGenerator.getInstance("DSA").genKeyPair().getPublic(); in getPubKey()
DKeyStore2Test.java63 KeyPair keyPair = keyPairGenerator.genKeyPair(); in getPrivateKey()
/libcore/ojluni/annotations/hiddenapi/java/security/
DKeyPairGenerator.java91 public final java.security.KeyPair genKeyPair() { in genKeyPair() method in KeyPairGenerator
/libcore/ojluni/src/main/java/java/security/
DKeyPairGenerator.java496 public final KeyPair genKeyPair() { in genKeyPair() method in KeyPairGenerator
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DEncryptedPrivateKeyInfoTest.java1627 KeyPair kp = kpg.genKeyPair(); in TestDataGenerator()