CryptoSys PKI Toolkit Manual

Cms.ReadSigDataToFile Method

Reads the content from a CMS signed-data object file

Syntax

[C#]
public static int ReadSigDataToFile(
	string outputFile,
	string inputFile,
	bool inputIsBase64
)
[VB.NET]
Public Shared Function ReadSigDataToFile ( _
	outputFile As String, _
	inputFile As String, _
	inputIsBase64 As Boolean _
) As Integer

Parameters

outputFile
file to receive content
inputFile
file containing CMS signed-data object
inputIsBase64
true if input is in base64 encoding; false for binary BER-encoded

Return Value

If successful, the return value is a positive number indicating the number of bytes in the content; otherwise it returns a negative error code.

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: CMS_ReadSigData

[Contents] [Index]

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

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