Sunday, July 15, 2012

Signing a SOAP Request / XML Message using Digital Certificate in Java

Refer the following links for Signing a SOAP Request / XML Request using Digital Certificate / Keystore in Java Axis using XML Signature.

http://www.javaworld.com/javaworld/jw-12-2002/jw-1220-xmlsecurity.html?page=6

Some other References:

what is Canonicalization and Examples of XML Canonicalization.

http://www.w3.org/TR/xml-c14n
http://www.java2s.com/Tutorial/Java/0410__Web-Services-SOA/SignSOAPmessage.htm

Good for XML Signature concepts especially Canonicalization.
http://www.javaworld.com/javaworld/jw-12-2002/jw-1220-xmlsecurity.html?page=2

For signing and verifying the signature.
http://www.javaworld.com/javaworld/jw-12-2002/jw-1220-xmlsecurity.html?page=6

Good example about signing a soap message with explaination.
http://www.javaworld.com/javaworld/jw-10-2002/jw-1011-securexml.html

For References.
http://www.javaworld.com/javaworld/jw-10-2002/jw-1011-securexml.html?page=5#resources

Reference refers to the data object being signed. It includes the Transform elements, which process in their textual order. The last transform's output becomes the input to DigestMethod, which will produce the DigestValue element's content.

Java XML Digital Signature API

http://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/2.0/tutorial/doc/

http://www.coderanch.com/t/500258/Web-Services/java/send-Signed-SOAP-Message

http://svn.apache.org/repos/asf/webservices/axis/branches/Beta2/java/samples/security/

-Venkat GK

1 comment:

  1. Thanks. I found in the links very important information of how to code digital certificate in Java. I'm going to use it in my project.

    ReplyDelete