CertificateRequest (String function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (add identifiers)
m (add identifiers)
Line 11: Line 11:


<tr><th>string</th>
<tr><th>string</th>
<td>string</td></tr>
<td>A <var>Longstring</var> that contains an RSA-generated private key. This value must be less than or equal to 2048 bits.</td></tr>


<tr><th><var>Country</var></th>
<tr><th><var>Country</var></th>

Revision as of 23:28, 18 March 2016

Create a certificate request from a private key (String class)

[Requires Janus Network Security]

This page is under construction.

Syntax

%certRequest = string:CertificateRequest[( [Country= string], - [State= string], [City= string], - [Organization= string], - [OrganizationalUnit= string], - [CommonName= string], - [SignatureAlgorithm= digestAlgorithm])] Throws PKCSError

Syntax terms

%certRequest string
string A Longstring that contains an RSA-generated private key. This value must be less than or equal to 2048 bits.
Country This optional, name required, string argument inserts a country value into the generated certificate request.

The default value of this argument is ??.

State This optional, name required, string argument inserts a state/province value into the generated certificate request.

The default value of this argument is ??.

City This optional, name required, string argument inserts a locality value into the generated certificate request.

The default value of this argument is ??.

Organization This optional, name required, string argument inserts an organization value into the generated certificate request.

The default value of this argument is ??.

OrganizationalUnit This optional, name required, string argument inserts an organization unit (OU) value into the generated certificate request.

The default value of this argument is ??.

CommonName This optional, name required, string argument inserts a common-name (CN) value into the generated certificate request.

The default value of this argument is ??.

SignatureAlgorithm This optional, name required, argument is a DigestAlgorithm enumeration value. Valid options are: MD5, SHA1, SHA256.

Note: Although supported and currently the default, most modern browsers are deprecating SHA1.

Usage notes

Examples

See also

String methods:

Stringlist methods:

System methods:

Socket methods: