CryptoSys PKI Toolkit Manual

Cms.MakeSigDataFromSigValue Method

Creates a CMS object of type SignedData using a pre-computed signature

Syntax

[C#]
public static int MakeSigDataFromSigValue(
	string outputFile,
	byte[] sigValue,
	byte[] contentData,
	string certList,
	Cms.Options options
)
[VB.NET]
Public Shared Function MakeSigDataFromSigValue ( _
	outputFile As String, _
	sigValue As Byte(), _
	contentData As Byte(), _
	certList As String, _
	options As Cms.Options _
) As Integer

Parameters

outputFile
name of output file to be created
sigValue
signature value
contentData
string containing content data that has been 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(;)
options
Option flags. See Cms.Options.

Return Value

Zero if successful; otherwise it returns an error code

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: CMS_MakeSigDataFromSigValue

[Contents] [Index]

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

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