MailKit Documentation
MailKit Documentation
API Reference
MimeKit.Cryptography
CryptographyContext Class
CryptographyContext Methods
CanEncrypt Method
CanEncryptAsync Method
CanSign Method
CanSignAsync Method
Create Method
Decrypt Method
DecryptAsync Method
Disable Method
Dispose Method
Enable Method
Encrypt Method
EncryptAsync Method
Export Method
ExportAsync Method
GetDigestAlgorithm Method
GetDigestAlgorithmName Method
Import Method
ImportAsync Method
IsEnabled Method
Register Method
Sign Method
SignAsync Method
Supports Method
Verify Method
VerifyAsync Method
Cryptography
Context
Supports Method
Check whether or not the specified protocol is supported by the
CryptographyContext
.
Namespace:
MimeKit.Cryptography
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
abstract
bool
Supports
(
string
protocol
)
Parameters
protocol
String
The protocol.
Return Value
Boolean
true
if the protocol is supported; otherwise
false
Implements
ICryptographyContext
Supports(String)
Exceptions
Exception
Condition
ArgumentNullException
protocol
is
null
.
Remarks
Used in order to make sure that the protocol parameter value specified in either a multipart/signed or multipart/encrypted part is supported by the supplied cryptography context.
See Also
Reference
CryptographyContext Class
MimeKit.Cryptography Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast