Click or drag to resize

CmsReadSigDataToString Method

Read the content from a CMS signed-data object directly into a string.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.1.0.28943 (23.1.0.0)
Syntax
public static string ReadSigDataToString(
        string inputFile
)

Parameters

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

Return Value

String
String containing the content or an empty string if error
Remarks
Use this only when the signed content is known to be plain ASCII text, otherwise use ReadSigDataToBytes.
See Also