Searched refs:dhKeyFactory (Results 1 – 2 of 2) sorted by relevance
335 KeyFactory dhKeyFactory; in getModpSharedKey() local338 dhKeyFactory = KeyFactory.getInstance(KEY_EXCHANGE_ALGORITHM_MODP); in getModpSharedKey()355 DHPublicKey publicKey = (DHPublicKey) dhKeyFactory.generatePublic(publicKeySpec); in getModpSharedKey()
164 KeyFactory dhKeyFactory = KeyFactory.getInstance(KEY_EXCHANGE_ALGORITHM_MODP); in getModpPrivateKey() local165 return dhKeyFactory.generatePrivate(privateKeySpec); in getModpPrivateKey()