$Web Cipher: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 6: Line 6:
$Web_Cipher indicates which SSL cipher, if any, is being used on the current <var class="product">[[Janus Web Server]]</var> connection.
$Web_Cipher indicates which SSL cipher, if any, is being used on the current <var class="product">[[Janus Web Server]]</var> connection.
==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" />%rc = $Web_Cipher
<p class="syntax"><section begin="syntax" /><span class="term">%rc</span> = $Web_Cipher
<section end="syntax" /></p>
<section end="syntax" /></p>



Revision as of 21:45, 17 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.

Syntax

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


$Web_Cipher takes no arguments and returns a cipher number.

and the MD5 digest algorithm. This is considered moderately strong encryption.

and the MD5 digest algorithm. This is considered very strong encryption.

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,
2 Using RC4 with 128 bit key, all of which are encrypted,

$WEB_CIPHER return codes