Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

clearKey() on EC Keys created by KeyBuilder.buildKeyWithSharedDomain

Michael StJohnsJun 24 2024 — edited Jun 27 2024

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”?

This post has been answered by patrick.vh-Oracle on Jun 26 2024
Jump to Answer
Comments
Post Details
Added on Jun 24 2024
2 comments
387 views