Performance of SSLSocketFactory creation.

Is there any documentation on SSLSocketFactory and why it takes so long to instantiate even though you use your own keystore and certificate instead of cacert? Sameer Jaffer
[200 byte] By [sijaffer] at [2007-9-26 5:25:36]
# 1

Dear sijjafer:

Creation of SSL Sockets takes a long time seeding the pseudo-random number generator, which by default is an instance of SecureRandom class. You can replace it with another random generator class of you own by passing it as the third parameter of the init() method of SSLContext, but....

You can read about SSL sockets in a couple of book from O'Reilly such as:

Java Network Programming - Second Edition.

Java Security - Second Edition.

Bye.

ezavalla at 2007-6-29 19:33:26 > top of Java-index,Security,Other Security APIs, Tools, and Issues...