Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating an RSA Private Key Signature

Status
Not open for further replies.

woogoo

Programmer
Feb 14, 2004
247
GB
Hi All, I need to create an RSA encrypted byte array from a SHA1 digest of a canonicalised XML document. The RSA encryption using the private key from a digital certificate.

I've googled, read, read and read some more and I'm still scratching my head over this one. Can anyone please help me out on this, I've been at it for ages and still no further forward.

--


woogoo
 
Just to say that I got to the bottom of my problem with this. When canonicalising my XML I was saving it as a UTF-8 stream not an ASCII stream and as a result my digest was wrong!

--


woogoo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top