Searched refs:keyAgreement (Results 1 – 3 of 3) sorted by relevance
135 KeyAgreement keyAgreement = KeyAgreement.getInstance(keyAgreementAlgorithm); in initKeyAgreement() local136 keyAgreement.init(keyStore.getKey(keyName, null)); in initKeyAgreement()137 return keyAgreement; in initKeyAgreement()
249 KeyAgreement keyAgreement = getKeyStoreKeyAgreement(); in testCryptoObjectReturnsCorrectKeyAgreement() local250 BiometricPrompt.CryptoObject cryptoObject = new BiometricPrompt.CryptoObject(keyAgreement); in testCryptoObjectReturnsCorrectKeyAgreement()252 assertEquals(keyAgreement, cryptoObject.getKeyAgreement()); in testCryptoObjectReturnsCorrectKeyAgreement()
2266 KeyAgreement keyAgreement = KeyAgreement.getInstance(agreeAlgo, in testUniquenessOfECAgreementKeys() local2268 keyAgreement.init(keyPairB.getPrivate()); in testUniquenessOfECAgreementKeys()2269 keyAgreement.doPhase(keyPairA.getPublic(), true); in testUniquenessOfECAgreementKeys()2270 byte[] secret = keyAgreement.generateSecret(); in testUniquenessOfECAgreementKeys()