May 2001
Intermediate to advanced
1088 pages
30h 13m
English
| Q1: | Why can't I find javax.net.ssl.*? |
| You might not have installed JSSE or the JSSE JAR files are not in your classpath. The default install method for JSSE puts the JAR files in your jre/lib/ext directory, which doesn't require classpath changes, so there's a good chance you just haven't installed JSSE. | |
| Q2: | Why do I get illegal assignment errors when I create a factory or an SSL socket? |
| The SSL factories use new standard extensions called SocketFactory and ServerSocketFactory. The getDefault methods in the factories return SocketFactory and ServerSocketFactory references instead of the SSL-specific factories. The underlying objects are the SSL-specific types; you just need to cast them to their SSL-equivalents. The ... |
Read now
Unlock full access