CertificateRequest (String function)

From m204wiki
Revision as of 23:27, 18 March 2016 by JAL (talk | contribs) (add identifiers)
Jump to navigation Jump to search

Create a certificate request from a private key (String class)

[Requires Janus Network Security]

This page is under construction.

Syntax

%certRequest = string:CertificateRequest[( [Country= string], - [State= string], [City= string], - [Organization= string], - [OrganizationalUnit= string], - [CommonName= string], - [SignatureAlgorithm= digestAlgorithm])] Throws PKCSError

Syntax terms

%certRequest string
string string
Country This optional, name required, string argument inserts a country value into the generated certificate request.

The default value of this argument is ??.

State This optional, name required, string argument inserts a state/province value into the generated certificate request.

The default value of this argument is ??.

City This optional, name required, string argument inserts a locality value into the generated certificate request.

The default value of this argument is ??.

Organization This optional, name required, string argument inserts an organization value into the generated certificate request.

The default value of this argument is ??.

OrganizationalUnit This optional, name required, string argument inserts an organization unit (OU) value into the generated certificate request.

The default value of this argument is ??.

CommonName This optional, name required, string argument inserts a common-name (CN) value into the generated certificate request.

The default value of this argument is ??.

SignatureAlgorithm This optional, name required, argument is a DigestAlgorithm enumeration value. Valid options are: MD5, SHA1, SHA256.

Note: Although supported and currently the default, most modern browsers are deprecating SHA1.

Usage notes

Examples

See also

String methods:

Stringlist methods:

System methods:

Socket methods: