ECDH's deriveBits calls _export:
return Key.deriveSharedSecret(Algorithm.formats.raw.import(alg.public._export("raw", nonce), alg));
But this is available only for keys which were configured as exportable. This is different from other implementations (like Chrome) where you can derive bits even when key is not exportable.
ECDH's
deriveBitscalls_export:But this is available only for keys which were configured as exportable. This is different from other implementations (like Chrome) where you can derive bits even when key is not exportable.