Searched refs:remotePublicKey (Results 1 – 2 of 2) sorted by relevance
186 byte[] remotePublicKey = TestUtils.hexStringToByteArray(PUBLIC_KEY_REMOTE); in testGetSharedkey()187 byte[] sharedKeyBytes = IkeKePayload.getSharedKey(mPrivateKeySpec, remotePublicKey); in testGetSharedkey()195 byte[] remotePublicKey = TestUtils.hexStringToByteArray(PRIME_1024_BIT_MODP_160_SUBGROUP); in testGetSharedkeyWithInvalidRemoteKey()198 byte[] sharedKeyBytes = IkeKePayload.getSharedKey(mPrivateKeySpec, remotePublicKey); in testGetSharedkeyWithInvalidRemoteKey()
251 public static byte[] getSharedKey(DHPrivateKeySpec privateKeySpec, byte[] remotePublicKey) in getSharedKey() argument266 BigInteger publicKeyValue = BigIntegerUtils.unsignedByteArrayToBigInteger(remotePublicKey); in getSharedKey()