$Web Cipher: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (minor formatting)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:$Web_Cipher}}
{{DISPLAYTITLE:$Web_Cipher}}
<span class="pageSubtitle"><section begin="desc" />Determine SSL cipher used on connection<section end="desc" /></span>
<span class="pageSubtitle">Determine SSL cipher used on connection</span>


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


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


$Web_Cipher indicates which SSL cipher, if any, is being used on the current ''[[Janus Web Server]]'' connection.
==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" /> %RC = $Web_Cipher
<p class="syntax"><span class="term">%rc</span> = $Web_Cipher
<section end="syntax" /></p>
</p>


===Syntax terms===
<table>
<tr><th>%rc</th>
<td>A numeric status code:
<table class="thJustBold">
<tr class="head"><th>Code</th>
<th>Meaning</th></tr>


$Web_Cipher takes no arguments and returns a cipher number.
<table class="syntaxTable">
<tr><th>Code</th>
<td>Meaning</td></tr>
<tr><th>0</th>
<tr><th>0</th>
<td>Not on a secure port or not a Web Server thread.</td></tr>
<td>Not on a secure port or not a Web Server thread.</td></tr>
<tr><th>1</th>
<tr><th>1</th>
<td>Using RC4 with 128 bit key, 40 of which are encrypted,</td>
<td>Using RC4 with 128 bit key, 40 of which are encrypted,
and the MD5 digest algorithm. This is considered moderately strong encryption.<tr><th>2</th>
and the MD5 digest algorithm. This is considered moderately strong encryption.</td></tr>
<td>Using RC4 with 128 bit key, all of which are encrypted,</td>
 
and the MD5 digest algorithm. This is considered very strong encryption.
<tr><th>2</th>
<td>Using RC4 with 128 bit key, all of which are encrypted,
and the MD5 digest algorithm. This is considered very strong encryption.</td></tr>
</table>
</table>
<p class="caption">$WEB_CIPHER return codes</p>


[[Category:Janus Web Server $functions|$Web_Cipher]]
[[Category:Janus Web Server $functions|$Web_Cipher]]

Latest revision as of 22:47, 29 August 2016

Determine SSL cipher used on connection

$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

%rc = $Web_Cipher

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.