| OpenPgpContextSupports Method |
Check whether or not the specified protocol is supported.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax public override bool Supports(
string protocol
)
Parameters
- protocol String
- The protocol.
Return Value
Booleantrue if the protocol is supported; otherwise
falseExceptions 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