mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 11:56:21 +00:00
Added window encyption mode for PGP
This commit is contained in:
@@ -132,6 +132,13 @@ p_gpg_free_key(ProfPGPKey *key)
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
p_gpg_available(const char * const barejid)
|
||||
{
|
||||
char *fp = g_hash_table_lookup(fingerprints, barejid);
|
||||
return (fp != NULL);
|
||||
}
|
||||
|
||||
void
|
||||
p_gpg_verify(const char * const barejid, const char *const sign)
|
||||
{
|
||||
|
||||
@@ -45,6 +45,7 @@ void p_gpg_init(void);
|
||||
void p_gpg_close(void);
|
||||
GSList* p_gpg_list_keys(void);
|
||||
GHashTable* p_gpg_fingerprints(void);
|
||||
gboolean p_gpg_available(const char * const barejid);
|
||||
const char* p_gpg_libver(void);
|
||||
void p_gpg_free_key(ProfPGPKey *key);
|
||||
char* p_gpg_sign(const char * const str, const char * const fp);
|
||||
|
||||
Reference in New Issue
Block a user