[EMAIL PROTECTED] wrote:
Last question...
I fixed the problem. The last issue was also my fault. I had changed the
algorithm to DES when I was troubleshooting and for some reason it doesn't
like algorithms under 128 bit. But I don't know why it didn't work
previously.
Why couldn't it find the p
Last question...
I fixed the problem. The last issue was also my fault. I had changed the
algorithm to DES when I was troubleshooting and for some reason it doesn't
like algorithms under 128 bit. But I don't know why it didn't work
previously.
Why couldn't it find the provider at number 6?
I'm n
Ok, one more update. The last error was entirely my fault.
I was searching for an element that didn't exist.
But I'm still getting errors.
Current configuration:
BC provider at number 2.
searching for text1 element.
Still using j2se 1.4.2
This is the latest output and error:
Data: DES
Key encryp
By the way, it's the same error when I put it as number one.
If I use another app to list the providers it finds the BC provider fine.
I removed the explicit "BC" from the getInstance calls.
Now I get this error:
Data: DES
Key encryption key stored in file:/C:/SampleCode/XMLencrypt/testXMLenc/kek
Ok, I placed the BC provider at number 2 and now I get this error:
Data: DES
Key encryption key stored in file:/C:/SampleCode/XMLencrypt/testXMLenc/kek
[EMAIL PROTECTED]
Key: [EMAIL PROTECTED]
algorithmURI http://www.w3.org/2001/04/xmlenc#tripledes-cbc
org.apache.xml.security.encryption.XMLEncryp
[EMAIL PROTECTED] wrote:
I did.
It is number 6.
From the stack trace, it seems like you are picking up Sun's JCE
implementation, and not BouncyCastles. Are you using JDK 1.4? Sun's JCE
implementation in 1.4 does not support the ISO10126Padding scheme. You
need to upgrade to at least JDK 1.5
I did.
It is number 6.
Quoting Vishal Mahajan <[EMAIL PROTECTED]>:
> Did you add an entry like the following to the
> "jre/lib/security/java.security" file before running the sample?
>
>
> security.provider.=org.bouncycastle.jce.provider.BouncyCastleProvider
>
> Vishal
>
> [EMAIL PROTECTED] wrote
Did you add an entry like the following to the
"jre/lib/security/java.security" file before running the sample?
security.provider.=org.bouncycastle.jce.provider.BouncyCastleProvider
Vishal
[EMAIL PROTECTED] wrote:
Hi,
I'm hoping someone can help me with this error.
I get the following ou