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(XMLCipher.java:429)
This could be because I am using JKS as my keystore.
This is from Nov 26th cvs - a bit old I know.
In any event, in regards to the performance/security
tradeoff, could someone please opine about the
SecretKey/PrivateKey tradeoffs?
iksrazal
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com