Results 1 to 1 of 1
- 12-15-2010, 12:40 PM #1
Member
- Join Date
- Dec 2010
- Posts
- 1
- Rep Power
- 0
Unwrapping a key using a certificate
Hi all,
I have to write java code that would wrap a key, using a certificate, and reversely unwrap that key afterwards.
I'm half way there, since wrapping seems to work all right, but when it comes to unwrapping, I'm getting a "data hash wrong" error.
And this happens in both cases, ie no matter if I'm using the certificate or its public key.
I've been googling around for the pas 2 days, but could not find any relevant example to help me out :(
Thank you in advance for any hint you could give :)
PFA source code I'm using.
Similar Threads
-
CAS certificate issue
By pacificz in forum Advanced JavaReplies: 4Last Post: 07-24-2010, 07:11 PM -
PDFBox certificate malformed
By wanderer2019 in forum Advanced JavaReplies: 0Last Post: 06-09-2010, 10:29 AM -
SUN 310-813 certificate
By koko12 in forum Java CertificationReplies: 2Last Post: 11-24-2009, 05:33 PM -
HTTPS using certificate
By MCJP in forum Advanced JavaReplies: 1Last Post: 09-25-2008, 01:48 PM -
Java certificate
By Nick15 in forum Java CertificationReplies: 2Last Post: 11-12-2007, 06:02 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks