Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/security/KeyAgreement/
DKeySpecTest.java142 PrivateKey priKey = kf.generatePrivate(priSpec); in testKeySpecs() local
145 testKeyEquals(kp, pubKey, priKey); in testKeySpecs()
157 pubKey, priKey))) { in testKeySpecs()
173 PrivateKey priKey = kf.generatePrivate(priSpec); in testEncodedKeySpecs() local
180 testKeyEquals(kp, pubKey, priKey); in testEncodedKeySpecs()
191 getKeyAgreementSecret(provider, kaAlgo, pubKey, priKey))) { in testEncodedKeySpecs()
240 PublicKey pubKey, PrivateKey priKey) throws Exception { in getKeyAgreementSecret() argument
243 ka.init(priKey); in getKeyAgreementSecret()
252 PrivateKey priKey) { in testKeyEquals() argument
254 if (!kp.getPrivate().equals(priKey) in testKeyEquals()
[all …]