The key or the keys used to create a signature are stored in the context. The following functions can be used to manipulate this list. If no signer has been set into the context a default key is used for signing.
gpgme_signers_clear releases a reference for each
key on the signers list and removes the list of signers from the
Every context starts with an empty list.
gpgme_signers_add adds the key key to the
list of signers in the context ctx.
Calling this function acquires an additional reference for the key.
gpgme_signers_count returns the number of signer keys in
the context ctx.
gpgme_signers_enum returns the seqth key in
the list of signers in the context ctx. An additional reference
is acquired for the user.
If seq is out of range,
NULL is returned.