MailBee.NET Objects 4.0

MailBeeSmimeWin32Exception Class

The exception which is thrown when the underlying S/MIME WinAPI function responsible for decrypting, encrypting or signing data returns an error.

For a list of all members of this type, see MailBeeSmimeWin32Exception Members.

System.Object
   System.Exception
      System.ApplicationException
         MailBee.MailBeeException
            MailBee.MailBeeLocalException
               MailBee.Security.MailBeeSmimeException
                  MailBee.Security.MailBeeSmimeWin32Exception

public class MailBeeSmimeWin32Exception : MailBeeSmimeException, IMailBeeWin32Exception

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This exception is typically thrown if there is no certificate with a private key which can be used in order to decrypt an encoded message. Another common case takes place when the message is signed with the certificate which does not have the private key.

The developer can obtain Win32 code of the occurred error from NativeErrorCode property.

Requirements

Namespace: MailBee.Security

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

MailBeeSmimeWin32Exception Members | MailBee.Security Namespace | Smime