Thanks for the reply.
I looked in to this further, and the error is probably
due to that my PrivateKey is generated from a KeyStore
built with the DSA algorythm. I'm using java keytool
to generate the keystore, which only supports DSA and
RSA.
Pardon my basic question. As I understand it,
XMLSi
Trebor,
That particular error almost looks like you don't have the appropriate
strong encryption policy file from Sun? ALthough if that were the case,
I would not expect AES or 3DES to work either.
On Secret vs. Private - if you have no issue securely getting the Secret
key (and I assume you
I've been using SecretKey for a while now, due to that
I could never get PrivateKey to work. I get:
java.lang.SecurityException: Unsupported keysize or
algorithm parameters
at javax.crypto.Cipher.init(DashoA6275)
at
org.apache.xml.security.encryption.XMLCipher.encryptElement(XMLCi