MailBee.Security namespace contains additional types specific to TLS/SSL functionality, S/MIME support, certificates and certificate stores, DomainKeys/DKIM anti-spam technology.
The option to connect to SSL/TSL enabled mail server is available at no additional cost. The same applies to DomainKeys/DKIM - it's considered as a basic feature. You can sign e-mails with DomainKeys/DKIM signatures and verify DomainKeys/DKIM signatures of existing e-mails (this is a popular antispam check, many mail services nowdays accept only DomainKeys-signed e-mails).
With the help of advanced features (Security.Powerup license required), the developer can:
Some methods and functionality is Win32-specific and is not available or makes no sense in .NET Standard 2.0 edition (which is cross-platform) and in UWP editions:
Represents a cryptographic algorithm used for signing and encryption operations.
Provides methods and properties for accessing a digital certificate.
Provides methods and properties for accessing collections of Certificate objects.
Provides the methods and properties for accessing certificate stores.
Provides methods and properties for accessing client and server certificates which are used in order to establish secure SSL connection with a mail server.
Provides methods and properties for accessing or examining Cryptographic Service Providers (CSPs) registered in the system.
Provides methods for signing e-mails with DomainKeys and DKIM signatures and verifying signatures of incoming e-mails.
Provides access to the impersonation functions.
An abstract parent for all exceptions that are thrown on errors which occur during accessing certificates.
The exception which is thrown when it's not possible to parse the certificate data or when the certificate password is incorrect.
An abstract parent for all exceptions that are thrown on errors which occur during accessing certificate stores.
The exception which is thrown when the underlying WinAPI function related to certificate store management returns an error.
The exception which is thrown during TLS/SSL handshake when automatic certificate validation is enabled and the server certificate does not pass the specified validation conditions.
The exception which is thrown when the underlying WinAPI function related to certificate management returns an error.
An abstract parent for all exceptions that are thrown on errors which occur during obtaining or examining Cryptographic Service Provider (CSP) system objects.
The exception which is thrown when the underlying CSP-related WinAPI function returns an error.
The exception that is thrown when DomainKeys operation (signing or verification) cannot be performed.
An abstract parent for all exceptions that are thrown on errors which occur during starting or termniating the impersonation.
The exception which is thrown when the underlying WinAPI function related to impersonation returns an error.
An abstract parent for all exceptions that are thrown on errors which occur during performing S/MIME operations.
The exception which is thrown when the underlying S/MIME WinAPI function responsible for decrypting, encrypting or signing data returns an error.
An abstract parent for all exceptions that are thrown on TLS/SSL negotiation, decryption and encryption errors.
The exception that is thrown when the underlying SslStream throws an exception during SSL negotiation.
The exception that is thrown when underlying Win32 Schannel implementation of TLS/SSL functions returns an error.
Explains which features of MailBee.Security namespace require Security license.
Provides properties and methods for encrypting, decrypting, signing and verifying e-mail messages.
Provides access to the decrypted message, signature verification status and other values returned by the methods of Smime class.
Defines purposes of cryptographic algorithms.
Defines types of certificate files and data.
Defines certificate fields available for search with FindCertificates(String, CertificateFields) method.
Defines flags indicating errors of certificate validation.
Defines types of certificate store files.
Defines certificate store types.
Defines the supported types of DomainKeys technology (classic DK and DKIM).
Defines the return values of Verify(MailMessage, Smtp) method.
Defines criteria of verification of e-mail message signatures.
Defines branches of the Windows registry where the system certificate stores can reside.
Specifies the protocols to be used for performing TLS/SSL negotiation and data encryption.
Specifies in which way the mailer component should switch the connection into TLS/SSL mode.