Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change 
notification.

The following page has been changed by RonReynolds:
http://wiki.apache.org/ws/RonReynolds

------------------------------------------------------------------------------
   * http://www.devx.com/Java/Article/28816/0/
   * 
http://ws.apache.org/wss4j/xref/org/apache/ws/axis/security/WSDoAllReceiver.html
   * http://ws.apache.org/wss4j/package.html
+ ----
+ Until i figure out how to add new child pages i'll just add my stuff here...
  
+ == How to set up XML-Signature using WSS4J and Axis 1.2.1 ==
+  1. create a key using the keytool {{{
+  keytool -genkey                  
+          -alias     testAlias     
+          -dname     "CN=Test Key" 
+          -validity  365           
+          -keypass   keyPassword   
+          -keystore  test.keystore 
+          -storepass storePassword 
+          -keyalg    DSA           
+          -keysize   1024          
+          -sigalg    SHA1withDSA   
+          -storetype jks }}}
+  2. sign the key {{{
+  keytool -selfcert                
+          -alias     testAlias     
+          -keystore  test.keystore 
+          -keypass   keyPassword   
+          -storepass storePassword }}}
+  3. export the key to a certificate {{{
+  keytool -export                  
+          -keystore  test.keystore 
+          -alias     testAlias     
+          -storepass storePassword 
+          -file      test.cert }}}
+  4. ... (still figuring it out)
+ 

Reply via email to