CryptoSys PKI Toolkit Manual

Cms.MakeEnvDataFromString Method (String, String, String, Cms.Options)

The same as Cms.MakeEnvData except the input is from an ANSI string instead of a file

Syntax

[C#]
public static int MakeEnvDataFromString(
	string outputFile,
	string inputData,
	string certList,
	Cms.Options options
)
[VB.NET]
Public Shared Function MakeEnvDataFromString ( _
	outputFile As String, _
	inputData As String, _
	certList As String, _
	options As Cms.Options _
) As Integer

Parameters

outputFile
Output file to be created
inputData
Input data text
certList
List of X509 certificate filename(s), separated by semi-colons
options
Type: Cms.Options
Option flags. See Cms.Options.

Return Value

Number of successful recipients or negative error code

Remarks

As of v3.7, it is an error if any specified certificate file in certList is missing or corrupted.

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: CMS_MakeEnvDataFromString

[Contents] [Index]

[HOME]   [NEXT: Cms.MakeEnvData Method (String, String, String, Cms.Options)...]

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