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
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