AppendClientCertificateRequest (Stringlist function): Difference between revisions
No edit summary |
m (→See also: add links) |
||
Line 53: | Line 53: | ||
==See also== | ==See also== | ||
<p> | |||
<var>Stringlist</var> methods: </p> | |||
<ul> | <ul> | ||
<li><var>[[AppendCertificateInfo (Stringlist function)|AppendCertificateInfo]]</var> | <li><var>[[AppendCertificateInfo (Stringlist function)|AppendCertificateInfo]]</var></li> | ||
<li><var>[[AppendCertificateRequest (Stringlist function)|AppendCertificateRequest]]</var> | |||
<li><var>[[AppendCertificateRequestInfo (Stringlist function)| | <li><var>[[AppendCertificateRequest (Stringlist function)|AppendCertificateRequest]]</var></li> | ||
<li><var>[[AppendEncryptedSecurityData (Stringlist subroutine)|AppendEncryptedSecurityData]]</var> | |||
<li><var>[[AppendGeneratedPrivateKey (Stringlist | <li><var>[[AppendCertificateRequestInfo (Stringlist function)|AppendCertificateRequestinfo]]</var></li> | ||
<li><var>[[AppendPrivateKeyInfo (Stringlist function)|AppendPrivateKeyInfo]]</var> | |||
<li><var>[[AppendSignedCertificate (Stringlist function)|AppendSignedCertificate]]</var> | <li><var>[[AppendEncryptedSecurityData (Stringlist subroutine)|AppendEncryptedSecurityData]]</var></li> | ||
<li><var>[[AppendGeneratedPrivateKey (Stringlist function)|AppendGeneratyedPrivateKey]]</var></li> | |||
<li><var>[[AppendPrivateKeyInfo (Stringlist function)|AppendPrivateKeyInfo]]</var></li> | |||
<li><var>[[AppendSignedCertificate (Stringlist function)|AppendSignedCertificate]]</var></li> | |||
<li><var>[[AppendSignedClientCertificate (Stringlist function)|AppendSignedClientCertificate]]</var></li> | <li><var>[[AppendSignedClientCertificate (Stringlist function)|AppendSignedClientCertificate]]</var></li> | ||
<li><var>[[CheckCertificate (Stringlist function)|CheckCertificate]]</var> | |||
<li><var>[[CheckCertificateRequest (Stringlist function)|CheckCertificateRequest]]</var> | <li><var>[[CheckCertificate (Stringlist function)|CheckCertificate]]</var></li> | ||
<li>[[Release notes for Sirius Mods V8.0#DER2Xml|DER-to-XmlDoc methods | |||
<li><var>[[CheckCertificateRequest (Stringlist function)|CheckCertificateRequest]]</var></li> | |||
</ul> | |||
<p> | |||
<var>String</var> methods:</p> | |||
<ul> | |||
<li>[[Release notes for Sirius Mods V8.0#DER2Xml|DER-to-XmlDoc methods]]</li> | |||
</ul> | </ul> | ||
{{Template:Stringlist:AppendClientCertificateRequest footer}} | {{Template:Stringlist:AppendClientCertificateRequest footer}} |
Revision as of 17:59, 14 March 2016
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 client public 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 |
PublicKey | This name allowed parameter is a Stringlist object that contains an RSA-generated client public 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. |
Return codes
0 | All is well. |
---|---|
3 | Out of CCATEMP. |
5 | Stringlist identifier missing. |
6 | Invalid Stringlist identifier. |
7 | Insufficient storage. |
10 | Public key Stringlist identifier missing. |
11 | Invalid public key Stringlist identifier. |
12 | Invalid public key. |
13 | Challenge data mismatch. |
14 | Bad public key/challenge signature. |
Examples
For a closely related example, see the AppendCertificateRequest "Examples" section.
See also
Stringlist methods:
- AppendCertificateInfo
- AppendCertificateRequest
- AppendCertificateRequestinfo
- AppendEncryptedSecurityData
- AppendGeneratyedPrivateKey
- AppendPrivateKeyInfo
- AppendSignedCertificate
- AppendSignedClientCertificate
- CheckCertificate
- CheckCertificateRequest
String methods: