Click or drag to resize

CmsReadSigDataToFile Method

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

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static int ReadSigDataToFile(
	string outputFile,
	string inputFile,
	CmsReadOptions opts = CmsReadOptions.None
)

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  CmsReadOptions  (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