Skip to Main Content

Java Security

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!

InvalidKeyException: Could not initialize for signing with the given key

843811May 30 2003 — edited Jul 8 2003
InvalidKeyException: Could not initialize for signing with the given key
What does this caused? And how can I make following code to work? Is it bug, or is it supposed to do so?
		X509CertImpl newCert = new X509CertImpl(certInfo);
		newCert.sign(caPrivateKey, SIG_ALG_NAME);
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 5 2003
Added on May 30 2003
1 comment
146 views