MailKit Documentation
MailKit Documentation
API Reference
MimeKit.Cryptography
OpenPgpContext Class
OpenPgpContext Methods
Decrypt Method
DecryptAsync Method
DecryptTo Method
DecryptToAsync Method
Dispose Method
Encrypt Method
EncryptAsync Method
Export Method
ExportAsync Method
GetDigestAlgorithm Method
GetDigestAlgorithmName Method
GetHashAlgorithm Method
GetPasswordForKey Method
GetPrivateKey Method
GetPublicKeyAlgorithm Method
GetPublicKeyRing Method
GetPublicKeyRingAsync Method
GetPublicKeys Method
GetPublicKeysAsync Method
GetSecretKey Method
GetSecretKeyAsync Method
GetSigningKey Method
GetSigningKeyAsync Method
Import Method
ImportAsync Method
IsExpired Method
IsMatch Method
RetrievePublicKeyRing Method
RetrievePublicKeyRingAsync Method
Sign Method
SignAndEncrypt Method
SignAndEncryptAsync Method
SignAsync Method
Supports Method
Verify Method
VerifyAsync Method
Open
Pgp
Context
Supports Method
Check whether or not the specified protocol is supported.
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)
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
OpenPgpContext Class
MimeKit.Cryptography Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast