Protocol Selection
------------------
- Function: GpgmeError gpgme_set_protocol (GpgmeCtx CTX,
GpgmeProtocol PROTO)
The function `gpgme_set_protocol' sets the protocol used within
the context CTX to PROTO. All crypto operations will be performed
by the crypto engine configured for that protocol. Note:Protocols and Engines.
Setting the protocol with `gpgme_set_protocol' does not check if
the crypto engine for that protocol is available and installed
correctly. Note:Engine Version Check.
The function returns `GPGME_No_Error' if the protocol could be set
successfully, and `GPGME_Invalid_Value' if PROTOCOL is not a valid
protocol.