ClientCertificateRequest (String function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (→‎Syntax terms: add item definition)
m (fix error)
Line 7: Line 7:
===Syntax terms===
===Syntax terms===
<table>
<table>
<tr><th>%certRequest</th><td>string</td></tr>
<tr><th>%certRequest</th>
<td>A <var>String</var> or <var>Longstring</var> to contain the generated signed certificate request.</td></tr>


<tr><th>string</th>
<tr><th>string</th>
<td>A <var>String</var> or <var>Longstring</var> to contain the generated signed certificate request.</td></tr>
<td>string</td></tr>


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

Revision as of 21:15, 16 May 2016

Create a client certificate request from a public key (String class)

[Requires Janus Network Security]

This page is under construction.

Syntax

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

Syntax terms

%certRequest A String or Longstring to contain the generated signed certificate request.
string string
Country This optional, name required, string argument inserts a country value into the generated client certificate request.
State This optional, name required, string argument inserts a state/province value into the generated client certificate request.
City This optional, name required, string argument inserts a locality value into the generated client certificate request.
Organization This optional, name required, string argument inserts an organization value into the generated client certificate request.
OrganizationalUnit This optional, name required, string argument inserts an organization unit (OU) value into the generated client certificate request.
CommonName This optional, name required, string argument inserts a common-name (CN) value into the generated client certificate request.

Challenge string
This default value of this argument is ??.
SignatureAlgorithm This optional, name required, argument is a DigestAlgorithm enumeration value. Valid values are: MD5, SHA1, SHA256, SHA384 (Model 204 7.7 and later), and SHA512 (Model 204 7.7 and later).

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: