CryptoSys PKI Toolkit Manual
Cms.GetSigDataDigest Method
Extracts the message digest from a signed-data CMS object file and verifies the signature
Syntax
[C#]
public static string GetSigDataDigest(
string inputFile,
string certFile,
bool inputIsBase64
)
[VB.NET]
Public Shared Function GetSigDataDigest ( _
inputFile As String, _
certFile As String, _
inputIsBase64 As Boolean _
) As String
Parameters
- inputFile
- file containing CMS signed-data object
- certFile
- an (optional) X.509 certificate file to be used to identify the signer
- inputIsBase64
- true if input is in base64 encoding; false for binary BER-encoded
Return Value
Hash value in hex format or an empty string if error
Examples (VB.NET)
See
Example1
See Also
VB6/C equivalent: CMS_GetSigDataDigest
[Contents] [Index]