GeneratedPrivateKey (System function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th nowrap>%privateKey</th><td>string</td></tr>
<tr><th nowrap>%privateKey</th><td>string</td></tr>
<tr><th nowrap><var>%(System)</var></th>
<tr><th nowrap><var>%(System)</var></th>
<td>The class name in parentheses denotes a shared method. <var>GeneratedPrivateKey</var> can also be invoked via a <var>System</var> object variable, which may be <var>Null</var>.</td></tr>
<td>The class name in parentheses denotes a shared method. <var>GeneratedPrivateKey</var> can also be invoked by a <var>System</var> object variable, which may be <var>Null</var>.</td></tr>
 
<tr><th><var>Length</var></th>
<tr><th><var>Length</var></th>
<td>number<br/>This default value of this argument is [[??]].</td></tr>
<td>This optional, [[Notation conventions for methods#Named parameters|name allowed]], parameter specifies the number of bits in the private key. The value must be at least 64 and no greater than 2048. The default is 512. </td></tr>
 
<tr><th><var>Exponent</var></th>
<tr><th><var>Exponent</var></th>
<td>number<br/>This default value of this argument is [[??]].</td></tr>
<td>This optional, name allowed, parameter specifies the number of bits in the public exponent (E). This must be either 3 or 65537 (X'10001'). The default is 3. </td></tr>
 
<tr><th><var>Salt</var></th>
<tr><th><var>Salt</var></th>
<td>string<br/>This default value of this argument is [[??]].</td></tr>
<td>This optional, name allowed, parameter is a string that contains seed data for a random number generator. </td></tr>
</table>
</table>



Revision as of 17:54, 7 March 2016

Generate an RSA private key (System class)

[Requires Janus Network Security]

This page is under construction.

Syntax

%privateKey = %(System):GeneratedPrivateKey[( [[Length=] number], - [[Exponent=] number], - [[Salt=] string])]

Syntax terms

%privateKeystring
%(System) The class name in parentheses denotes a shared method. GeneratedPrivateKey can also be invoked by a System object variable, which may be Null.
Length This optional, name allowed, parameter specifies the number of bits in the private key. The value must be at least 64 and no greater than 2048. The default is 512.
Exponent This optional, name allowed, parameter specifies the number of bits in the public exponent (E). This must be either 3 or 65537 (X'10001'). The default is 3.
Salt This optional, name allowed, parameter is a string that contains seed data for a random number generator.

Usage notes

Examples

See also