wodPop3 ActiveX Control - VerifySignature Method
      
 

Description

Verifies digital signature in the message.


Return Type

None  


Syntax

object.VerifySignature [ Certificate ]



The VerifySignature Method syntax has these parts:

Part Description
object An expression evaluating to an object of type Pop3Msg.
Certificate Optional. ICertificate object that holds signer's certificate.

Remarks

VerifySignature method will verify digital signature on the message - if one exists. If message is not signed, or signature is invalid, error will be thrown.

 

If message was encrypted and signed, you should Decrypt it before verifying signature. You can verify messages holding digital signature in separate part (filename with P7S extensions), and messages containing only file with P7M extension - data secured with S/MIME standard. In second case, calling this method will replace contents of P7M file with actual signed message contents.

 

Certificate argument can be specified and hold certificate of the signer - but is not not required. wodPop3 will search windows certificate store to find matching certificate anyway, so specify this argument only if you keep signer's certificate in external file.