Let's say I create an ECPrivateKey “aSharedKey” using the above call. The ECKey “domainParams” holding the domain parameters is used by a number of keys including this one.
I use the key, and then call aSharedKey.clearKey().
Is there a defined behavior here for what happens to the parameters in the ECKey holding the domain parameters when I call clearKey() on another key using those params? Are they left alone? Cleared? or “Depends on the card”?