CryptoSys PKI Toolkit Manual

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

Creates a CMS object of type SignedData from an input string

Syntax

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

Parameters

outputFile
name of output file to be created
inputData
string containing message data to be signed
certList
containing the filename of the signer's certificate and (optionally) a list of other certificates to be included in the output, separated by semi-colons(;)
privateKey
containing the private key data for the sender
options
Type: Cms.Options
Option flags. See Cms.Options.

Return Value

Zero if successful; otherwise it returns an error code

See Also

VB6/C equivalent: CMS_MakeSigDataFromString

[Contents] [Index]

[HOME]   [NEXT: Cms.MakeSigDataFromString Method (String, String, String, String, HashAlgorithm, Cms.SigDataOptions)...]

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