ClientCertificateRequest (String function): Difference between revisions
m (fix error) |
m (→See also: add method to list) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
<tr><th>string</th> | <tr><th>string</th> | ||
<td> | <td>A <var>String</var> or <var>Longstring</var> that contains an RSA-generated client public key. This value must be less than or equal to 4096 (as of version 7.7 of Model 204). The pre-7.7 maximum is 2048 bits.</td></tr> | ||
<tr><th><var>Country</var></th> | <tr><th><var>Country</var></th> | ||
Line 33: | Line 33: | ||
<tr><th><var>Challenge</var></th> | <tr><th><var>Challenge</var></th> | ||
<td>string | <td>This optional, name required, string argument contains expected challenge data.</td></tr> | ||
<tr><th><var>SignatureAlgorithm</var></th> | <tr><th><var>SignatureAlgorithm</var></th> | ||
Line 53: | Line 53: | ||
<li><var>[[SignedCertificate (String function)|SignedCertificate]]</var> </li> | <li><var>[[SignedCertificate (String function)|SignedCertificate]]</var> </li> | ||
<li><var>[[SignedClientCertificate (String function)|SignedClientCertificate]]</var> </li> | |||
<li><var>[[DerToXmlDoc (String function)|DerToXmlDoc]]</var> </li> | <li><var>[[DerToXmlDoc (String function)|DerToXmlDoc]]</var> </li> | ||
Line 70: | Line 72: | ||
<var>System</var> methods: </p> | <var>System</var> methods: </p> | ||
<ul> | <ul> | ||
<li><var>[[ClientCertificate (System function)|ClientCertificate]]</var> | <li><var>[[ClientCertificate (System function)|ClientCertificate]]</var> </li> | ||
<li><var>[[GeneratedPrivateKey (System function)|GeneratedPrivateKey]]</var> </li> | |||
</ul> | </ul> | ||
<p> | <p> |
Latest revision as of 15:05, 6 September 2018
Create a client certificate request from a public key (String class)
[Requires Janus Network Security]
This page is under construction.
Syntax
%certRequest = string:ClientCertificateRequest[( [Country= string], - [State= string], - [City= string], - [Organization= string], - [OrganizationalUnit= string], - [CommonName= string], - [Challenge= string], - [SignatureAlgorithm= digestAlgorithm])] Throws PKCSError
Syntax terms
%certRequest | A String or Longstring to contain the generated signed certificate request. |
---|---|
string | A String or Longstring that contains an RSA-generated client public key. This value must be less than or equal to 4096 (as of version 7.7 of Model 204). The pre-7.7 maximum is 2048 bits. |
Country | This optional, name required, string argument inserts a country value into the generated client certificate request. |
State | This optional, name required, string argument inserts a state/province value into the generated client certificate request. |
City | This optional, name required, string argument inserts a locality value into the generated client certificate request. |
Organization | This optional, name required, string argument inserts an organization value into the generated client certificate request. |
OrganizationalUnit | This optional, name required, string argument inserts an organization unit (OU) value into the generated client certificate request. |
CommonName | This optional, name required, string argument inserts a common-name (CN) value into the generated client certificate request. |
Challenge | This optional, name required, string argument contains expected challenge data. |
SignatureAlgorithm | This optional, name required, argument is a DigestAlgorithm enumeration value. Valid values are: MD5, SHA1, SHA256, SHA384 (Model 204 7.7 and later), and SHA512 (Model 204 7.7 and later).
Note: Although supported and currently the default, most modern browsers are deprecating SHA1. |
Usage notes
Examples
See also
String methods:
- CertificateRequest
- ClientCertificateRequest
- SignedCertificate
- SignedClientCertificate
- DerToXmlDoc
- RSAPrivateKeyToXmlDoc
- X509CertificateToXmlDoc
- X509CrlToXmlDoc
- Multiple cryptographic cipher methods
Stringlist methods:
- AppendCertificateInfo
- AppendCertificateRequest
- AppendCertificateRequestInfo
- AppendClientCertificateRequest
- AppendEncryptedSecurityData
- AppendGeneratedPrivateKey
- AppendPemData
- AppendPrivateKeyInfo
- AppendSignedCertificate
- AppendSignedClientCertificate
- CheckCertificate
- CheckCertificateRequest
- PemToString
System methods:
Socket methods: