| MailBee.Security Namespace |
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:
| Class | Description | |
|---|---|---|
| Algorithm |
Represents a cryptographic algorithm used for signing and encryption operations.
| |
| Certificate |
Provides methods and properties for accessing a digital certificate.
| |
| CertificateCollection |
Provides methods and properties for accessing collections of Certificate objects.
| |
| CertificateStore |
Provides the methods and properties for accessing certificate stores.
| |
| ClientServerCertificates |
Provides methods and properties for accessing client and server certificates
which are used in order to establish secure SSL connection with a mail server.
| |
| CryptoServiceProvider |
Provides methods and properties for accessing or examining Cryptographic Service Providers (CSPs)
registered in the system.
| |
| DomainKeys |
Provides methods for signing e-mails with DomainKeys and DKIM signatures and verifying
signatures of incoming e-mails.
| |
| Impersonation |
Provides access to the impersonation functions.
| |
| MailBeeCertificateException |
An abstract parent for all exceptions that are thrown on errors which occur during accessing
certificates.
| |
| MailBeeCertificateParsingException |
The exception which is thrown when it's not possible to parse the certificate data or
when the certificate password is incorrect.
| |
| MailBeeCertificateStoreException |
An abstract parent for all exceptions that are thrown on errors which occur during accessing
certificate stores.
| |
| MailBeeCertificateStoreWin32Exception |
The exception which is thrown when the underlying WinAPI function related to certificate store management returns an error.
| |
| MailBeeCertificateValidationException |
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.
| |
| MailBeeCertificateWin32Exception |
The exception which is thrown when the underlying WinAPI function related to certificate management returns an error.
| |
| MailBeeCryptoProviderException |
An abstract parent for all exceptions that are thrown on errors which occur during obtaining
or examining Cryptographic Service Provider (CSP) system objects.
| |
| MailBeeCryptoProviderWin32Exception |
The exception which is thrown when the underlying CSP-related WinAPI function returns an error.
| |
| MailBeeDomainKeysException |
The exception that is thrown when DomainKeys operation (signing or verification) cannot be performed.
| |
| MailBeeImpersonationException |
An abstract parent for all exceptions that are thrown on errors which occur during starting or termniating the impersonation.
| |
| MailBeeImpersonationWin32Exception |
The exception which is thrown when the underlying WinAPI function related to impersonation returns an error.
| |
| MailBeeSmimeException |
An abstract parent for all exceptions that are thrown on errors which occur during performing
S/MIME operations.
| |
| MailBeeSmimeWin32Exception |
The exception which is thrown when the underlying S/MIME WinAPI function responsible for decrypting, encrypting or signing data returns an error.
| |
| MailBeeSslException |
An abstract parent for all exceptions that are thrown on TLS/SSL negotiation,
decryption and encryption errors.
| |
| MailBeeSslNegotiationException |
The exception that is thrown when the underlying SslStream throws an exception during SSL negotiation.
| |
| MailBeeSslWin32Exception |
The exception that is thrown when underlying Win32 Schannel implementation of
TLS/SSL functions returns an error.
| |
| Powerup |
Explains which features of MailBee.Security namespace require Security license.
| |
| Smime |
Provides properties and methods for encrypting, decrypting, signing and verifying e-mail messages.
| |
| SmimeResult |
Provides access to the decrypted message, signature verification status and other
values returned by the methods of Smime class.
|
| Enumeration | Description | |
|---|---|---|
| AlgorithmCategory |
Defines purposes of cryptographic algorithms.
| |
| CertFileType |
Defines types of certificate files and data.
| |
| CertificateFields |
Defines certificate fields available for search with FindCertificates(String, CertificateFields) method.
| |
| CertificateValidationFlags |
Defines flags indicating errors of certificate validation.
| |
| CertStoreFileType |
Defines types of certificate store files.
| |
| CertStoreType |
Defines certificate store types.
| |
| DomainKeysTypes |
Defines the supported types of DomainKeys technology (classic DK and DKIM).
| |
| DomainKeysVerifyResult |
Defines the return values of Verify(MailMessage, Smtp) method.
| |
| MessageVerificationFlags |
Defines criteria of verification of e-mail message signatures.
| |
| RegistryStoreLocation |
Defines branches of the Windows registry where the system certificate stores can reside.
| |
| SecurityProtocol |
Specifies the protocols to be used for performing TLS/SSL negotiation and data encryption.
| |
| SslStartupMode |
Specifies in which way the mailer component should switch the connection into TLS/SSL mode.
|