Forum Discussion

slopez01's avatar
15 years ago

Unexpected signing error

I'm working with Oracle's Web Service Manager and I've gotten encryption to work, a good first step. However, when I try to sign the message in SOAP UI I'm getting the following error:

org.apache.xml.security.signature.XMLSignatureException: Sorry, you supplied the wrong key type for this operation! You supplied a sun.security.rsa.RSAPrivateCrtKeyImpl but a javax.crypto.SecretKey is needed.

I've tried different key types without success. Any ideas would be greatly appreciated.

Thanks in advance.

Scott

2 Replies

  • Hi,

    I'm facing the same issue. Did you ever get this solved? If so, how?

    Thanks,

    Danny
  • rsulliv1's avatar
    rsulliv1
    Occasional Contributor
    Scott, I'd also like to see if you got past your issue. I'm also working against Oracle's Web Service Manager.

    thanks, if you're still around!