VerifySignature Method
Verifies the signature of the current Message .
Syntax
[VB.NET] Public Sub VerifySignature()
[C#] public void VerifySignature();
Remarks
This method attempts to verify the signature contained in 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.
NOTE: This method has a corresponding asynchronous version (VerifySignatureAsync) for use in the Xamarin environment.