MailKit Documentation
MailKit Documentation
API Reference
MimeKit.Cryptography
SecureMimeContext Class
SecureMimeContext Methods
Compress Method
CompressAsync Method
Decompress Method
DecompressAsync Method
DecompressTo Method
DecompressToAsync Method
DecryptTo Method
DecryptToAsync Method
EncapsulatedSign Method
EncapsulatedSignAsync Method
Encrypt Method
EncryptAsync Method
GetDigestAlgorithm Method
GetDigestAlgorithmName Method
GetDigestOid Method
GetPreferredEncryptionAlgorithm Method
Import Method
ImportAsync Method
Sign Method
SignAsync Method
Supports Method
Verify Method
Secure
Mime
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
override
bool
Supports
(
string
protocol
)
Parameters
protocol
String
The protocol.
Return Value
Boolean
true
if the protocol is supported; otherwise
false
Implements
ICryptographyContext
Supports(String)
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
SecureMimeContext Class
MimeKit.Cryptography Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast