CryptoSys PKI Pro Manual

cmsGetSigDataDigest

Extract the message digest from a signed-data CMS object file and verify the signature.

Syntax

[VBA]
Public Function cmsGetSigDataDigest ( _
    szFileIn As String, _
    Optional szCertFile As String = "", _
    Optional nOptions As Long = 0 _
) As String

Parameters

szFileIn
Name of signed-data CMS object file or the data as a base64 or PEM string.
szCertFile
An (optional) X.509 certificate file to be used to identify the signer.
nOptions
For future use.

Return Value

String: Hash value in hex format or an empty string on error.

Remarks

If no certificate is given, it will use the first valid SignerInfo and certificate pair it finds in the SignedData. RSASSA-PKCS1V1_5 only.
[PREV: cipherKeyWrap...]   [Contents]   [Index]   
   [NEXT: cmsMakeEnvData...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.