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
- Type: Cms.Options
Option flags. See Cms.Options.
Return Value
Message text or an empty string on error
Examples (VB.NET)
See
Example1
See Also
VB6/C equivalent: CMS_ReadEnvDataToString
[Contents] [Index]