Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DUtils.java135 KeyAgreement keyAgreement = KeyAgreement.getInstance(keyAgreementAlgorithm); in initKeyAgreement() local
136 keyAgreement.init(keyStore.getKey(keyName, null)); in initKeyAgreement()
137 return keyAgreement; in initKeyAgreement()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAgreementTest.java249 KeyAgreement keyAgreement = getKeyStoreKeyAgreement(); in testCryptoObjectReturnsCorrectKeyAgreement() local
250 BiometricPrompt.CryptoObject cryptoObject = new BiometricPrompt.CryptoObject(keyAgreement); in testCryptoObjectReturnsCorrectKeyAgreement()
252 assertEquals(keyAgreement, cryptoObject.getKeyAgreement()); in testCryptoObjectReturnsCorrectKeyAgreement()
DKeyPairGeneratorTest.java2266 KeyAgreement keyAgreement = KeyAgreement.getInstance(agreeAlgo, in testUniquenessOfECAgreementKeys() local
2268 keyAgreement.init(keyPairB.getPrivate()); in testUniquenessOfECAgreementKeys()
2269 keyAgreement.doPhase(keyPairA.getPublic(), true); in testUniquenessOfECAgreementKeys()
2270 byte[] secret = keyAgreement.generateSecret(); in testUniquenessOfECAgreementKeys()