SecureEmailManager.CheckSignature

CheckSignature(MapiMessage)

Verifies the signature of the message.

public SmimeResult CheckSignature(MapiMessage msg)
ParameterTypeDescription
msgMapiMessageThe message to check.

Return Value

The result of the check, with the signing and encryption certificates.

See Also


CheckSignature(MapiMessage, X509Certificate2)

Verifies the signature of the message, decrypting it first if needed.

public SmimeResult CheckSignature(MapiMessage msg, X509Certificate2 certificateForDecrypt)
ParameterTypeDescription
msgMapiMessageThe message to check.
certificateForDecryptX509Certificate2The certificate to decrypt the message with, if it is encrypted.

Return Value

The result of the check, with the signing and encryption certificates.

See Also


CheckSignature(MapiMessage, X509Certificate2, X509Store)

Verifies the signature of the message, decrypting it first if needed.

public SmimeResult CheckSignature(MapiMessage msg, X509Certificate2 certificateForDecrypt, 
    X509Store store)
ParameterTypeDescription
msgMapiMessageThe message to check.
certificateForDecryptX509Certificate2The certificate to decrypt the message with, if it is encrypted.
storeX509StoreThe store to search for the decryption certificate; null for the store of the current user.

Return Value

The result of the check, with the signing and encryption certificates.

See Also


CheckSignature(MailMessage)

Verifies the signature of the message.

public SmimeResult CheckSignature(MailMessage msg)
ParameterTypeDescription
msgMailMessageThe message to check.

Return Value

The result of the check, with the signing and encryption certificates.

See Also


CheckSignature(MailMessage, X509Certificate2)

Verifies the signature of the message, decrypting it first if needed.

public SmimeResult CheckSignature(MailMessage msg, X509Certificate2 certificateForDecrypt)
ParameterTypeDescription
msgMailMessageThe message to check.
certificateForDecryptX509Certificate2The certificate to decrypt the message with, if it is encrypted.

Return Value

The result of the check, with the signing and encryption certificates.

See Also


CheckSignature(MailMessage, X509Certificate2, X509Store)

Verifies the signature of the message, decrypting it first if needed.

public SmimeResult CheckSignature(MailMessage msg, X509Certificate2 certificateForDecrypt, 
    X509Store store)
ParameterTypeDescription
msgMailMessageThe message to check.
certificateForDecryptX509Certificate2The certificate to decrypt the message with, if it is encrypted.
storeX509StoreThe store to search for the decryption certificate; null for the store of the current user.

Return Value

The result of the check, with the signing and encryption certificates.

See Also