SmimeResetToDefaults Method |
Namespace: MailBee.Security
Exception | Condition |
---|---|
MailBeeCryptoProviderWin32Exception | Failed to create an instance of CryptoServiceProvider representing the default CSP and ThrowExceptions is true. |
This method reverts Provider property value back to the default CSP (Base). This property is meaningful for .NET Core 1.0/1.1 edition only.
The algorithm to use for encryption (EncryptionAlgorithm property) is set to RSA DES (szOID_RSA_DES_EDE3_CBC).
The algorithm to use for signing messages (HashAlgorithm property) is set to SHA1 (szOID_OIWSEC_sha1).