Q
|
How can I determine the SSL key size installed on the user's browser? For example I would like to know if the user has 128 bit or 40 bit encryption.
|
A
|
There are two approaches to detecting the SSL key size. The most simple approach is to redirect to an HTTPS page and check the SSLKeySize property afterward.
This approach is simple and effective, but its disadvantages are that you must redirect them to an SSL page to get the key size, and if their browser cannot handle SSL (either because it is disabled or a firewall is blocking it) then they will receive an error message in the page - just as they would if you redirected them to any SSL page.
Starting in BrowserHawk 6 we introduced the ability to detect the SSL key size from a regular HTTP page, without having to redirect the user to an HTTPS page first.
For more information see the SSLKeySize (ActiveX / .NET) property in the documentation or Java docs (BH4J).
|