[prev in list] [next in list] [prev in thread] [next in thread]
List: mozilla-crypto
Subject: need JSS help (what are the crytop/padding options available?)
From: Japajo () gmail ! com
Date: 2005-10-06 18:25:36
Message-ID: 1128623136.777391.266050 () z14g2000cwz ! googlegroups ! com
[Download RAW message or body]
>From the following line of code:
Cipher output_cipher =
Cipher.getInstance("AES/CBC/PKCS7Padding","Mozilla-JSS");
I get the following error:
java.security.InvalidKeyException: Unrecognized Padding type
"PKCS7Padding"
at
org.mozilla.jss.provider.javax.crypto.JSSCipherSpi.engineInit(JSSCipherSpi.java:251)
at javax.crypto.Cipher.init(DashoA6275)
Where can I find the options available that I can put into the first
parameter of Cipher.getInstance() for JSS? The above code worked with
another provider I was using.
Thank you kindly,
Japajo
_______________________________________________
mozilla-crypto mailing list
mozilla-crypto@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-crypto
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic