mace-opensaml-users - RE: Sha2 signature info requested
Subject: OpenSAML user discussion
List archive
- From: Prasanna Krishna <>
- To: <>
- Subject: RE: Sha2 signature info requested
- Date: Tue, 2 Oct 2007 21:33:45 +0000
- Importance: Normal
Hi Brent - Thank you for your patience and immediate appropriate reply. We now have another question: At this juncture we probably cannot move with the latest saml code base for this version of ours since we are already production like. Please suggest how I can set the digest algorithm to 'sha1' from within the code snippet I sent you earlier. Instead of going with sha256, we will go with sha1 and in future we shall pick up the latest code base and upgrade our code too to work with latest open saml. This input will really help us move forward since we are almost blocked . Also can you please let me know or point me to the current stable distribution of open saml or is it that we should build the jars from the source? Please let me know if you require any further info. Regards Prasanna Krishna Code snippet again please: SignatureBuilder sb = new SignatureBuilder();Signature sig = sb.buildObject(); SAMLObjectContentReference soref = new SAMLObjectContentReference(response); sig.getContentReferences().add(soref); TDSAdapter service = SecurityConfig.getInstance().getService( "foo");PrivateKey pk = service.getPrivateKey(); sig.setSigningKey(pk); sig .setSignatureAlgorithm( "http://www.w3.org/2000/04/xmldsig#rsa-sha1");sig .setCanonicalizationAlgorithm( "http://www.w3.org/TR/2001/REC-xml-c14n-20010315");response.setSignature(sig); Element authElement = marshall(response); Signer.signObject(sig);
Windows Live Spaces is here! It’s easy to create your own personal Web site. Check it out! |
- Sha2 signature info requested, Prasanna Krishna, 10/02/2007
- Re: Sha2 signature info requested, Brent Putman, 10/02/2007
- RE: Sha2 signature info requested, Prasanna Krishna, 10/02/2007
- Re: Sha2 signature info requested, Brent Putman, 10/02/2007
- RE: Sha2 signature info requested, Prasanna Krishna, 10/03/2007
- RE: Sha2 signature info requested, Paul Hethmon, 10/03/2007
- RE: Sha2 signature info requested, Scott Cantor, 10/03/2007
- RE: Sha2 signature info requested, Prasanna Krishna, 10/03/2007
- Notes on KeyInfoGenerator (was: RE: Sha2 signature info requested), Brent Putman, 10/03/2007
- RE: Sha2 signature info requested, Prasanna Krishna, 10/05/2007
- Re: Sha2 signature info requested, Brent Putman, 10/05/2007
- RE: Sha2 signature info requested, Scott Cantor, 10/05/2007
- RE: Sha2 signature info requested, Prasanna Krishna, 10/05/2007
- RE: Sha2 signature info requested, Prasanna Krishna, 10/03/2007
- Re: Sha2 signature info requested, Brent Putman, 10/02/2007
- RE: Sha2 signature info requested, Prasanna Krishna, 10/02/2007
- Re: Sha2 signature info requested, Brent Putman, 10/02/2007
Archive powered by MHonArc 2.6.16.