MailKit Documentation
MailKit Documentation
API Reference
MimeKit.Cryptography
ICryptographyContext Interface
ICryptographyContext Methods
CanEncrypt Method
CanEncryptAsync Method
CanSign Method
CanSignAsync Method
Decrypt Method
DecryptAsync Method
Disable Method
Enable Method
Encrypt Method
EncryptAsync Method
Export Method
ExportAsync Method
GetDigestAlgorithm Method
GetDigestAlgorithmName Method
Import Method
ImportAsync Method
IsEnabled Method
Sign Method
SignAsync Method
Supports Method
Verify Method
VerifyAsync Method
ICryptography
Context
Supports Method
Check whether or not the specified protocol is supported by the
ICryptographyContext
.
Namespace:
MimeKit.Cryptography
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
bool
Supports
(
string
protocol
)
Parameters
protocol
String
The protocol.
Return Value
Boolean
true
if the protocol is supported; otherwise
false
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
ICryptographyContext Interface
MimeKit.Cryptography Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast