CryptoSys PKI Toolkit Manual

X509.CertRequest Method

Creates a PKCS #10 certificate signing request (CSR) using the subject's private key file

Syntax

[C#]
public static int CertRequest(
	string reqFile,
	string privateKeyFile,
	string distName,
	string password,
	X509.Options options
)
[VB.NET]
Public Shared Function CertRequest ( _
	reqFile As String, _
	privateKeyFile As String, _
	distName 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 (;)
password
password for Subject's encrypted private key file
options
Option flags. See X509.Options.

Return Value

Zero if successful or a non-zero error code

[Contents] [Index]


[HOME]   [NEXT: X509.CertSerialNumber Method...]

Copyright © 2004-10 D.I. Management Services Pty Ltd. All rights reserved.