AppendClientCertificateRequest (Stringlist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 9: Line 9:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%rc</th>
<tr><th>%rc</th>
<td>An, optional, numeric variable that is set to zero if the function is a success. The possible return codes are described below in [[AppendCertificateRequest (Stringlist function)#Return codes|"Return codes"]].</td></tr>
<td>An, optional, numeric variable that is set to zero if the function is a success. The possible return codes are described elsewhere in [[AppendCertificateRequest (Stringlist function)#Return codes|"Return codes"]].</td></tr>
<tr><th>sl</th>
<tr><th>sl</th>
<td>Stringlist object</td></tr>
<td>Stringlist object</td></tr>

Revision as of 20:14, 25 May 2012

Add client certificate request to a Stringlist (Stringlist class)

[Requires Janus Network Security]


This callable method generates an SSL client certificate request from a given private key, and it adds the request lines to the end of a Stringlist.

Syntax

[%rc =] sl:AppendClientCertificateRequest( [PublicKey=] string, - [[Country=] string], - [[State=] string], - [[City=] string], - [[Organization=] string], - [[OrganizationalUnit=] string], - [[CommonName=] string], - [[Challenge=] string], - [SignatureAlgorithm= digestAlgorithm])

Syntax terms

%rc An, optional, numeric variable that is set to zero if the function is a success. The possible return codes are described elsewhere in "Return codes".
sl Stringlist object
PrivateKey This name allowed parameter is a Stringlist object that contains an RSA-generated private key.
Country string
State A string that is the state or province name to be specified on the request.
City A string that is the city name to be specified on the request.
Organization string. For example, a company name.
OrganizationalUnit string. For example, a department within a company.
CommonName string. For example, a host name like www.sirius-software.com.
Challenge A string that is the expected authentication challenge data/password. You might need to identify the type of authentication, for example, certificate-based authentication.

Usage notes

Examples

See also