AppendClientCertificateRequest (Stringlist function)
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
- AppendCertificateInfo
- AppendCertificateRequest
- AppendCertificateRequestInfo
- AppendPrivateKeyInfo
- AppendSignedCertificate
- AppendSignedClientCertificate
- CheckCertificate
- CheckCertificateRequest