CertificateRequest (String function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
m (add SignatureAlgorithm description)
Line 1: Line 1:
{{Template:String:CertificateRequest subtitle}}
{{Template:String:CertificateRequest subtitle}}
This page is [[under construction]].
This page is [[under construction]].
==Syntax==
==Syntax==
{{Template:String:CertificateRequest syntax}}
{{Template:String:CertificateRequest syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table>
<tr><th>%certRequest</th><td>string</td></tr>
<tr><th>%certRequest</th>
<td>string</td></tr>
 
<tr><th>string</th>
<tr><th>string</th>
<td>string</td></tr>
<td>string</td></tr>
<tr><th><var>Country</var></th>
<tr><th><var>Country</var></th>
<td>string<br/>This default value of this argument is [[??]].</td></tr>
<td>string<br/>This default value of this argument is [[??]].</td></tr>
<tr><th><var>State</var></th>
<tr><th><var>State</var></th>
<td>string<br/>This default value of this argument is [[??]].</td></tr>
<td>string<br/>This default value of this argument is [[??]].</td></tr>
<tr><th><var>City</var></th>
<tr><th><var>City</var></th>
<td>string<br/>This default value of this argument is [[??]].</td></tr>
<td>string<br/>This default value of this argument is [[??]].</td></tr>
<tr><th><var>Organization</var></th>
<tr><th><var>Organization</var></th>
<td>string<br/>This default value of this argument is [[??]].</td></tr>
<td>string<br/>This default value of this argument is [[??]].</td></tr>
<tr><th><var>OrganizationalUnit</var></th>
<tr><th><var>OrganizationalUnit</var></th>
<td>string<br/>This default value of this argument is [[??]].</td></tr>
<td>string<br/>This default value of this argument is [[??]].</td></tr>
<tr><th><var>CommonName</var></th>
<tr><th><var>CommonName</var></th>
<td>string<br/>This default value of this argument is [[??]].</td></tr>
<td>string<br/>This default value of this argument is [[??]].</td></tr>
<tr><th><var>SignatureAlgorithm</var></th>
<tr><th><var>SignatureAlgorithm</var></th>
<td><var>DigestAlgorithm</var> value<br/>This default value of this argument is [[??]].</td></tr>
<td>This optional, [[Notation conventions for methods#Named parameters|name required]], argument is a <var>[[DigestAlgorithm enumeration|DigestAlgorithm]]</var> enumeration value.  Valid options are: <var>MD5</var>, <var>SHA1</var>, <var>SHA256</var>.
<p class="note"><b>Note:</b> Although supported and currently the default, most modern browsers are deprecating <var>SHA1</var>.</p></td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
==Examples==
==Examples==
==See also==
==See also==
{{Template:String:CertificateRequest footer}}
{{Template:String:CertificateRequest footer}}

Revision as of 17:29, 9 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 string
Country string
This default value of this argument is ??.
State string
This default value of this argument is ??.
City string
This default value of this argument is ??.
Organization string
This default value of this argument is ??.
OrganizationalUnit string
This default value of this argument is ??.
CommonName string
This 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