You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Chris82KS <cm...@nc-ag.de> on 2007/09/26 17:31:29 UTC

Axis2 1.1: Sign Timestamp

Hello, I use Rampart 1.1 and I want to sign a timestamp. I use folowing
configuration inmy services.xml:

<parameter name="OutflowSecurity">
   <action>
      <items>Timestamp Signature Encrypt</items>
      <signaturePropFile>server.properties</signaturePropFile>
      <user>username</user>
      <signatureparts>
         {Element}{http://www.w3.org/2005/08/addressing}To;
         {Element}{http://www.w3.org/2005/08/addressing}ReplyTo;
         {Element}{http://www.w3.org/2005/08/addressing}MessageID;
         {Element}{http://www.w3.org/2005/08/addressing}Action;
         {Element}{http://www.w3.org/2005/08/addressing}RelatesTo;
        
{Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Timestamp;
         {}{}Body;
      </signatureparts>
      <enableSignatureConfirmation>false</enableSignatureConfirmation>
      <encryptionUser>clientusername</encryptionUser>		
     
<encryptionSymAlgorithm>http://www.w3.org/2001/04/xmlenc#aes256-cbc</encryptionSymAlgorithm>
      <encryptionKeyIdentifier>IssuerSerial</encryptionKeyIdentifier>
      <passwordCallbackClass>handler</passwordCallbackClass>
   </action>		
</parameter>

I call the service with a .NET WCF client and I always get the error that
the timestamp with ID xxx mustbe signed. Why? Timestamp is part of
signatureparts? It would be very nice if someone could give me a hint.

Greetings
Chris
-- 
View this message in context: http://www.nabble.com/Axis2-1.1%3A-Sign-Timestamp-tf4523096.html#a12903453
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org