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!

Change private RSA key with null parameters.

858245Jul 7 2011 — edited Jul 8 2011
I am having one applet method by which I am changing the RSA CRT private key. If I change the RSA CRT private key by setting its components (P, Q, DP, DQ, PQ) with null parameters (byte 0x00), the applet hangs on the point where the component P is set. After some time I get the error 0x0000045D which was returned by the PCSC reader. What is happening? In my test case I have to able to set RSA CRT private key components P, Q, DP, DQ, PQ with null values. After that step, the crypto operations will report the error if we would like to perform the operation with such a private key.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 5 2011
Added on Jul 7 2011
3 comments
547 views