Home
last modified time | relevance | path

Searched refs:tkp (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignedObjectTest.java49 TestKeyPair tkp = null; in testSignedObject() local
54 tkp = new TestKeyPair("DSA"); in testSignedObject()
62 SignedObject so = new SignedObject(prop, tkp.getPrivate(), sig); in testSignedObject()
67 assertTrue("verify() failed", so.verify(tkp.getPublic(), sig)); in testSignedObject()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyAgreementTest.java90 TestKeyPair tkp = new TestKeyPair(defaultAlgorithm); in createKeys() local
91 privKey = tkp.getPrivate(); in createKeys()
92 publKey = tkp.getPublic(); in createKeys()