CryptoSys PKI Toolkit Manual

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

Creates an encrypted CMS enveloped-data object for one or more recipients using their x.509 certificates (default algorithms).

Syntax

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

Parameters

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

Return Value

Number of successful recipients or a negative error code.

Remarks

This uses the default key-encryption algorithm rsaEncryption with triple DES des-ede3-cbcfor content encryption.

[Contents] [Index]


[HOME]   [NEXT: Cms.MakeSigData Method...]

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