AppendClientCertificateRequest (Stringlist function): Difference between revisions
m (→Syntax terms) |
m (→Syntax terms) |
||
Line 15: | Line 15: | ||
<td>This [[Notation conventions for methods#Named parameters|name allowed]] parameter is a <var>Stringlist</var> object that contains an RSA-generated private key.</td></tr> | <td>This [[Notation conventions for methods#Named parameters|name allowed]] parameter is a <var>Stringlist</var> object that contains an RSA-generated private key.</td></tr> | ||
<tr><th><var>Country</var></th> | <tr><th><var>Country</var></th> | ||
<td>string</td></tr> | <td>This name allowed, optional, string argument inserts a country value into the generated certificate request. </td></tr> | ||
<tr><th><var>State</var></th> | <tr><th><var>State</var></th> | ||
<td> | <td>This name allowed, optional, string argument inserts a state/province value into the generated certificate request. </td></tr> | ||
<tr><th><var>City</var></th> | <tr><th><var>City</var></th> | ||
<td> | <td>This name allowed, optional, string argument inserts a locality value into the generated certificate request. </td></tr> | ||
<tr><th><var>Organization</var></th> | <tr><th><var>Organization</var></th> | ||
<td>string | <td>This name allowed, optional, string argument inserts an organization value (for example, a company name) into the generated certificate request. </td></tr> | ||
<tr><th><var>OrganizationalUnit</var></th> | <tr><th><var>OrganizationalUnit</var></th> | ||
<td>string. For example, a department within a company.</td></tr> | <td>This name allowed, optional, string argument inserts an organization unit (OU) value into the generated certificate request. For example, a department within a company.</td></tr> | ||
<tr><th><var>CommonName</var></th> | <tr><th><var>CommonName</var></th> | ||
<td>string. For example, a host name like www.sirius-software.com.</td></tr> | <td>This name allowed, optional, string argument inserts a common-name (CN) value into the generated certificate request. For example, a host name like "www.sirius-software.com".</td></tr> | ||
<tr><th><var>Challenge</var></th> | <tr><th><var>Challenge</var></th> | ||
<td> | <td>This name allowed, optional, string argument inserts the expected authentication challenge data/password. You might need to identify the type of authentication, for example, certificate-based authentication.</td></tr> | ||
</table> | </table> | ||
Revision as of 20:27, 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 | This name allowed, optional, string argument inserts a country value into the generated certificate request. |
State | This name allowed, optional, string argument inserts a state/province value into the generated certificate request. |
City | This name allowed, optional, string argument inserts a locality value into the generated certificate request. |
Organization | This name allowed, optional, string argument inserts an organization value (for example, a company name) into the generated certificate request. |
OrganizationalUnit | This name allowed, optional, string argument inserts an organization unit (OU) value into the generated certificate request. For example, a department within a company. |
CommonName | This name allowed, optional, string argument inserts a common-name (CN) value into the generated certificate request. For example, a host name like "www.sirius-software.com". |
Challenge | This name allowed, optional, string argument inserts 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
- AppendCertificateInfo
- AppendCertificateRequest
- AppendCertificateRequestInfo
- AppendPrivateKeyInfo
- AppendSignedCertificate
- AppendSignedClientCertificate
- CheckCertificate
- CheckCertificateRequest