Re: Re: [OpenSAML] Problems creating KeyInfo object

24 views
Skip to first unread message

llc...@nortel.com

unread,
Feb 26, 2009, 2:11:12 PM2/26/09
to mace-open...@internet2.edu
Hi Brentt:

I used the same code trying to sign the assertion, but I always got the empty DigestValue and the empty SignatureValue for the signed assertion. I checked the keyInfo which seems correct and every thing seems fine but I can't find any clue why there is no digest value nor the signature value. Hope you can shed some light on this respect.

Thnaks,

Lule

Brent Putman

unread,
Feb 26, 2009, 7:34:58 PM2/26/09
to mace-open...@internet2.edu
llc...@nortel.com wrote:
> Hi Brentt:
>
> I used the same code trying to sign the assertion, but I always got the empty DigestValue and the empty SignatureValue for the signed assertion. I checked the keyInfo which seems correct and every thing seems fine but I can't find any clue why there is no digest value nor the signature value. Hope you can shed some light on this respect.
>


Well, the code in this (very old) thread wasn't about signing, it was
about how to generate a KeyInfo. Totally different subject. Sounds
like you simply are not signing the message with
Signer.signObject(Signature)

Please consult the basic guidelines for signing documented here:

https://spaces.internet2.edu/display/OpenSAML/OSTwoUserManJavaDSIG

Lule Chen

unread,
Feb 26, 2009, 10:07:33 PM2/26/09
to mace-open...@internet2.edu
Thanks, Brentt. I will try the method you suggested to sign the
signature. I found it's hard to find the related sample code showing how
to do those stuff.

Lule

Reply all
Reply to author
Forward
0 new messages