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.java336 KeyFactory dhKeyFactory; in getModpSharedKey() local
339 dhKeyFactory = KeyFactory.getInstance(KEY_EXCHANGE_ALGORITHM_MODP); in getModpSharedKey()
356 DHPublicKey publicKey = (DHPublicKey) dhKeyFactory.generatePublic(publicKeySpec); in getModpSharedKey()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayloadTest.java182 KeyFactory dhKeyFactory = KeyFactory.getInstance(KEY_EXCHANGE_ALGORITHM_MODP); in getModpPrivateKey() local
183 return dhKeyFactory.generatePrivate(privateKeySpec); in getModpPrivateKey()