cmsVerifySigData
Verify the signature and content of a signed-data CMS object file.
Syntax
[VBA]
Public Function cmsVerifySigData ( _
szFileIn As String, _
Optional szCertFile As String = "", _
Optional szHexDigest As String = "", _
Optional nOptions As Long = 0 _
) As Long
Parameters
- szFileIn
- Name of file containing CMS signed-data object (binary or base64-encoded) or the data as a base64 or PEM string.
- szCertFile
- (optional) X.509 certificate file of the signer.
- szHexDigest
- (optional) digest of eContent to be verified (use for "detached-signature" form)
- nOptions
- Add to speed up the processing of large files (binary input only).
PKI_CMS_BIGFILE
Return Value
Long: Zero on success; otherwise a nonzero error code.