Searched refs:dhKeyAgreement (Results 1 – 1 of 1) sorted by relevance
335 KeyAgreement dhKeyAgreement; in getModpSharedKey() local338 dhKeyAgreement = KeyAgreement.getInstance(KEY_EXCHANGE_ALGORITHM_MODP); in getModpSharedKey()342 dhKeyAgreement.init(privateKey); in getModpSharedKey()358 dhKeyAgreement.doPhase(publicKey, true /* Last phase */); in getModpSharedKey()359 return dhKeyAgreement.generateSecret(); in getModpSharedKey()