mace-opensaml-users - Signature problems
Subject: OpenSAML user discussion
List archive
- From: "" <>
- To:
- Subject: Signature problems
- Date: Thu, 6 Nov 2008 16:49:51 +0100 (CET)
- Xoriginalsenderip: 193.204.19.251
Hi, we have to read and modify an SAMLResponse.
//read SAMLResponse
from a string
Response response = (Response) responseUnmarsh.unmarshall
(XMLUtils.parse("<samlp:Response>...</samlp:Response>").
getDocumentElement());
//modify SAMLResponse
response.setInResponseTo
("...");
//Recreate SAMLResponse
new ResponseMarshaller().marshall
(response);
//Now, we have to computing the Signature Value
Signature
signature = response.getSignature();
Signer.signObject(signature);
But, Signer.signObject throws this exception
Original Exception was
java.security.SignatureException: object not initialized for signature
or verification
Where is the error?
_______________________________________________________________
Telefona e naviga senza limiti con Tiscali Voce 8 Mega a soli € 15 al mese
per i primi 12 mesi. In seguito paghi € 29,90 al mese. Attiva entro il
6/11/08! http://abbonati.tiscali.it/promo/voce8mega/
- Signature problems, , 11/06/2008
- Re: [OpenSAML] Signature problems, Paul Hethmon, 11/06/2008
- Re: [OpenSAML] Signature problems, Brent Putman, 11/06/2008
Archive powered by MHonArc 2.6.16.