Additional logs can be associated with a context. These logs are
engine specific and can be be obtained with
gpgme_op_getauditlog is used to obtain additional
logs as specified by flags into the output data. If
The function returns the error code
GPG_ERR_NO_ERROR if a
log could be queried from the engine, and
if the log specified in flags is not available for this engine.
If no log is available
GPG_ERR_NO_DATA is returned.
The value in flags is a bitwise-or combination of one or multiple of the following bit values:
Obtain diagnostic output which would be written to
interactive use of the engine. This can be used to provide additional
diagnostic information in case of errors in other operations.
Note: If log-file has been set in the configuration the log will
be empty and
GPG_ERR_NO_DATA will be returned.
This flag has the value 0 for compatibility reasons. Obtains additional
information from the engine by issuing the
GPGME_PROTOCOL_CMS this provides additional information about
the X509 certificate chain.
GPGME_AUDITLOG_DEFAULT but in HTML.
This is the asynchronous variant of