$Web Cipher: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (minor formatting)
 
(One intermediate revision by one other user 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> indicates which SSL cipher, if any, is being used on the current <var class="product">[[Janus Web Server]]</var> connection.
Line 7: Line 7:


==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" /><span class="term">%rc</span> = $Web_Cipher
<p class="syntax"><span class="term">%rc</span> = $Web_Cipher
<section end="syntax" /></p>
</p>


===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table>
<tr><th>%rc</th>
<tr><th>%rc</th>
<td>A numeric status code:
<td>A numeric status code:
<table class="syntaxTable">
 
<tr><th>Code</th>
<table class="thJustBold">
<tr class="head"><th>Code</th>
<th>Meaning</th></tr>
<th>Meaning</th></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>Using RC4 with 128 bit key, 40 of which are encrypted,
and the MD5 digest algorithm. This is considered moderately strong encryption.</td></tr>
and the MD5 digest algorithm. This is considered moderately strong encryption.</td></tr>
<tr><th>2</th>
<tr><th>2</th>
<td>Using RC4 with 128 bit key, all of which are encrypted,
<td>Using RC4 with 128 bit key, all of which are encrypted,

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.