WSS4J has a sample. You will have to get it directly from CVS.
http://sourceforge.net/projects/wss4j/

-- dims

--- fred smith <[EMAIL PROTECTED]> wrote:
> hi Pankaj.  it seems verisign charges money for their jar file.  i was really 
> looking for some
> example on how to do this using free source code.  so if anyone has an example of 
> how to do a
> HelloWorld service that passes in String, encrypts is using XML encryption then 
> returns the
> String digitally signed would be most helpful.  i'm having a very hard time putting 
> these pieces
> together and could really use a good example like that to study.  
> 
> [EMAIL PROTECTED] wrote:
> Check out http://www.j2ee-security.net/book/sample-chap/ and 
> http://www.j2ee-security.net/book/dnldsrc/
> 
> The examples currently use VeriSign's TSIK but I will soon be porting them to 
> use WSS4J.
> 
> /Pankaj.
> > Hello. I have been fussing with this issue for some
> > time now and can't for the life of me figure it out. 
> > I am trying to make a very simple HelloWorld service
> > that takes in a String as a parameter, uses XML
> > encryption on it and returns the String back digitally
> > signed by the server. Does anyone have an example of
> > this? Thank you. 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Protect your identity with Yahoo! Mail AddressGuard
> > http://antispam.yahoo.com/whatsnewfree
> > 
> 
> > ATTACHMENT part 2 message/rfc822 
> Date: Thu, 6 Nov 2003 06:59:20 -0800 (PST)
> From: fred smith 
> Subject: XML Encryption w/ DigitalSignature
> To: [EMAIL PROTECTED]
> 
> Hello. I have been fussing with this issue for some
> time now and can't for the life of me figure it out. 
> I am trying to make a very simple HelloWorld service
> that takes in a String as a parameter, uses XML
> encryption on it and returns the String back digitally
> signed by the server. Does anyone have an example of
> this? Thank you. 
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

Reply via email to