Skip to Content.
Sympa Menu

shibboleth-dev - Signature error

Subject: Shibboleth Developers

List archive

Signature error


Chronological Thread 
  • From: "" <>
  • To: "" <>
  • Subject: Signature error
  • Date: Thu, 6 Nov 2008 15:52:49 +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 error, , 11/06/2008

Archive powered by MHonArc 2.6.16.

Top of Page