CryptoSys PKI Pro Manual

Cms.ReadSigDataToFile Method

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

Syntax

[C#]
public static int ReadSigDataToFile(
   string outputFile,
   string inputFile,
   Cms.ReadOptions opts = Cms.ReadOptions.None 
)
[VB]
Public Shared Function ReadSigDataToFile (
   outputFile As String,
   inputFile As String,
   Optional opts As Cms.ReadOptions = Cms.ReadOptions.None 
) As Integer

Parameters

outputFile  String
file to receive content
inputFile  String
Name of file containing CMS signed-data object (binary or base64-encoded) or the data as a base64 or PEM string.
opts  Cms.ReadOptions  (Optional)
Option flags: set as zero for defaults.

Return Value

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

See Also

VB6/C equivalent: CMS_ReadSigData

[Contents] [Index]

[PREV: Cms.ReadSigDataToBytes Method...]   [Contents]   [Index]   
   [NEXT: Cms.ReadSigDataToString Method...]

Copyright © 2004-26 D.I. Management Services Pty Ltd t/a CryptoSys. All rights reserved. Generated 2026-09-21T05:59:39Z.