On Wed, 2007-02-07 at 17:20 +0200, Tonkikh Maxim wrote:

> org.apache.axis2.AxisFault: WSHandler: Signature: error during message
> procesingorg.apache.ws.security.WSSecurityException: Signature
> creation failed; nested exception is: 
> 
>         org.apache.xml.security.signature.XMLSignatureException:
> Sorry, you supplied the wrong key type for this operation! You
> supplied a sun.security.provider.DSAPrivateKey but a
> javax.crypto.SecretKey is needed.

You are trying to use public key cryptography while HMAC-SHA1 requires
symmetric (secret key) cryptography.

Jyrki



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to