Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayload.java335 KeyFactory dhKeyFactory; in getModpSharedKey() local
338 dhKeyFactory = KeyFactory.getInstance(KEY_EXCHANGE_ALGORITHM_MODP); in getModpSharedKey()
355 DHPublicKey publicKey = (DHPublicKey) dhKeyFactory.generatePublic(publicKeySpec); in getModpSharedKey()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayloadTest.java164 KeyFactory dhKeyFactory = KeyFactory.getInstance(KEY_EXCHANGE_ALGORITHM_MODP); in getModpPrivateKey() local
165 return dhKeyFactory.generatePrivate(privateKeySpec); in getModpPrivateKey()