File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use JSSE for CDC to connect to SSL web site but InvalidKeySpecException(Unknown key spec) occur

 
Ryan Woon
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a java program that is in Windows Mobile 6, and I use CrE-ME™ v4.12 jvm to run the program. Java version is 1.3 with JSSE 1.0.3 for CDC 1.0.2.

I use following code to connect to a secure site.
(This website is using Comodo Free SSL Certificate: 2048-bit, 128/256 bit encryption)



When I try to get the OutputStream



Following error occurs:



Please help me to solve this issue.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An obsolete Java version and crypto library running as part of an obsolete Java mobile API via a hack on an obsolete mobile OS - tall order . I have added this post to the Java ME forum as well.

My starting approach might be to determine which ciphers are supported by the server (using a tool like SSLScan), and then read through the JSSE 1.0 documentation to see which ciphers that supports - thereby determining whether there is any overlap.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic