I am getting an error trying to read a p12 file using JSS and examining its 
components. I am getting the error:

java.security.InvalidAlgorithmParameterException: RC2/CBC/NoPadding cannot 
use a null parameter

I am essentially using the code from the main program at:
http://lxr.mozilla.org/security/source/security/jss/org/mozilla/jss/pkcs12/PFX.java

The error is occuring at line 377 where the program attempts to get/decrypt 
the 2nd of 2 SafeContents. This SafeContents is encrypted with the 
pbeWithSHAAnd40BitRC2-CBC.

The p12 file seems to work okay when used for client authentication with 
Java Native SSL.

The problem seems to occur with both JSS34 and JSS4.

Has anyone else seen this or have any suggestions? Thanks.

Bill Price 


_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto
  • Problem with ... Bill Price

Reply via email to