CmsReadSigDataToString Method |
Read the content from a CMS signed-data object directly into a string.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.2.0.37107 (23.2.0.0)
Syntaxpublic static string ReadSigDataToString(
string inputFile
)
Public Shared Function ReadSigDataToString (
inputFile As String
) As String
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
StringString containing the content or an empty string if error
RemarksUse this only when the signed content is known to be plain ASCII text, otherwise use
ReadSigDataToBytes.
See Also