GPG
Description:
public namespace GPG
GPGME is an API wrapper around GnuPG, which parses the output of GnuPG.
Content:
Classes:
Structs:
Enums:
Delegates:
- public delegate Error passphrase_callback (void* hook, string uid_hint, string passphrase_info, bool prev_was_bad, int fd)
Methods:
- public unowned string check_version (string? required_version = null)
Get version of libgpgme Always call this function before using gpgme,
it initializes some stuff
- public Error engine_check_version (Protocol proto)
Verify that the engine implementing proto is installed and available.
- public Error get_engine_info (out EngineInfo? engine_info)
Get information about the configured engines. The returned data is
valid until the next set_engine_info() call.
- public unowned string get_hash_algorithm_name (HashAlgorithm algo)
- public unowned string get_protocol_name (Protocol p)
- public unowned string get_public_key_algorithm_name (PublicKeyAlgorithm algo)
- public unowned string strerror (Error err)
Like strerror_r, but returns a pointer to the string. This method is
not thread safe!
- public int strerror_r (Error err, uint8[] buf)
Return the error string for ERR in the user-supplied buffer BUF of
size BUFLEN. This function is thread-safe, if a thread-safe strerror_r() function is provided by the system. If the function succeeds,
0 is returned and BUF contains the string describing the error. If the buffer was not large enough, ERANGE is returned and BUF
contains as much of the beginning of the error string as fits into the buffer. Returns Error Status Code.