$Web Cipher: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
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.


$Web_Cipher takes no arguments and returns a cipher number.


$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" /><span class="term">%rc</span> = $Web_Cipher
<p class="syntax"><section begin="syntax" /><span class="term">%rc</span> = $Web_Cipher
<section end="syntax" /></p>
<section end="syntax" /></p>


 
===Syntax terms===
$Web_Cipher takes no arguments and returns a cipher number.
<table class="syntaxTable">
<tr><th>%rc</th>
<td>A numeric status code:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>Code</th>
<tr><th>Code</th>
Line 17: Line 20:
<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>
<tr><th>2</th>
and the MD5 digest algorithm. This is considered very strong encryption.
<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]]

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

$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.