CryptoSys PKI Pro Manual

Cms.ReadSigDataToFile Method (String, String)

Read the content from a CMS signed-data object file.

Syntax

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

Parameters

outputFile
file to receive content
inputFile
Name of file containing CMS signed-data object (binary or base64-encoded) or the data as a base64 or PEM string.

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]

[PREV: Cms.ReadSigDataToBytes Method...]   [Contents]   [Index]   
   [NEXT: Cms.ReadSigDataToFile Method (String, String, Cms.ReadOptions)...]

Copyright © 2004-21 D.I. Management Services Pty Ltd. All rights reserved. Generated 2021-10-01T09:03:20Z.