$Web Cipher: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
<span class="pageSubtitle"><section begin="desc" />Determine SSL cipher used on connection<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Determine SSL cipher used on connection<section end="desc" /></span>


$Web_Cipher indicates which SSL cipher, if any, is being used on the current <var class="product">[[Janus Web Server]]</var> connection.
<var>$Web_Cipher</var> indicates which SSL cipher, if any, is being used on the current <var class="product">[[Janus Web Server]]</var> connection.


$Web_Cipher takes no arguments and returns a cipher number.
<var>$Web_Cipher</var> takes no arguments and returns a cipher number.


==Syntax==
==Syntax==

Revision as of 22:43, 18 October 2012

<section begin="desc" />Determine SSL cipher used on connection<section end="desc" />

$Web_Cipher indicates which SSL cipher, if any, is being used on the current Janus Web Server connection.

$Web_Cipher takes no arguments and returns a cipher number.

Syntax

<section begin="syntax" />%rc = $Web_Cipher <section end="syntax" />

Syntax terms

%rc A numeric status code:
Code Meaning
0 Not on a secure port or not a Web Server thread.
1 Using RC4 with 128 bit key, 40 of which are encrypted, and the MD5 digest algorithm. This is considered moderately strong encryption.
2 Using RC4 with 128 bit key, all of which are encrypted, and the MD5 digest algorithm. This is considered very strong encryption.