CryptoSys PKI Pro Manual

Cms.ReadSigDataToString Method

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

Syntax

[C#]
public static string ReadSigDataToString(
	string inputFile
)
[VB.NET]
Public Shared Function ReadSigDataToString ( _
	inputFile As String _
) As String

Parameters

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

Return Value

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

VB6/C equivalent: CMS_ReadSigDataToString

[Contents] [Index]

[PREV: Cms.ReadSigDataToFile Method...]   [Contents]   [Index]   
   [NEXT: Cms.VerifySigData Method...]

Copyright © 2004-25 D.I. Management Services Pty Ltd. All rights reserved. Generated 2025-12-20T06:47:47Z.