CryptoSys PKI Pro Manual

X509.CertRequest Method (String, String, String, String, String, X509.Options)

Create a PKCS #10 certificate signing request (CSR) with extensions. [DEPRECATED]

Syntax

[C#]
[ObsoleteAttribute("Use X509.CertRequest(String, String, String, String, String, SigAlgorithm, X509.CsrOptions)", 
	false)]
public static int CertRequest(
	string reqFile,
	string privateKeyFile,
	string distName,
	string extensions,
	string password,
	X509.Options options
)
[VB.NET]
<ObsoleteAttribute("Use X509.CertRequest(String, String, String, String, String, SigAlgorithm, X509.CsrOptions)",  _
	False)> _
Public Shared Function CertRequest ( _
	reqFile As String, _
	privateKeyFile As String, _
	distName As String, _
	extensions As String, _
	password As String, _
	options As X509.Options _
) As Integer

Parameters

reqFile
Name of Certificate Signing Request file to be created
privateKeyFile
Name of subject's encrypted private key file
distName
Specifying the subject's distinguished name as a set of attribute key=value pairs separated with semi-colons (;). See Specifying Distinguished Names.
extensions
A list of attribute-value pairs to be included in an extensionRequest field. See X.509 Extensions.
password
password for Subject's encrypted private key file
options
Type: X509.Options
Option flags: set as zero for defaults.

Return Value

Zero if successful or a non-zero error code

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: X509_CertRequest

[Contents] [Index]

[PREV: X509.CertRequest Method (String, String, String, String, String, SigAlgorithm, X509.CsrOptions)...]   [Contents]   [Index]   
   [NEXT: X509.CertSerialNumber Method...]

Copyright © 2004-21 D.I. Management Services Pty Ltd. All rights reserved. Generated 2021-12-27T10:58:57Z.