Verifies the signature of the current message.
public void VerifySignature();
Public Sub VerifySignature()
This method attempts to verify the signature of the input message. If the message does not have a certificate attached, the component will attempt to verify the signature using the certificate supplied in SignerCert (if any). If no certificate is found, the component throws an exception.
If this method is successful, the SignerCert property will contain the certificate information of the message signer.
NOTE: This function does not attempt to check the validity of the signing certificate itself.