CryptoSys PKI Toolkit Manual

Cms.ReadEnvDataToString Method

Reads and decrypts CMS enveloped-data object using the recipient's private key

Syntax

[C#]
public static string ReadEnvDataToString(
	string inputFile,
	string x509File,
	string privateKey,
	Cms.Options options
)
[VB.NET]
Public Shared Function ReadEnvDataToString ( _
	inputFile As String, _
	x509File As String, _
	privateKey As String, _
	options As Cms.Options _
) As String

Parameters

inputFile
File that contains the CMS-enveloped data
x509File
(optional) specifies the filename of the recipient's X.509 certificate
privateKey
Internal representation of private key
options
Option flags. See Cms.Options.

Return Value

Message text or an empty string on error

[Contents] [Index]


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

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