Top | ![]() |
![]() |
![]() |
![]() |
CryptUIKeyset * cryptui_keyset_new (const gchar *keytype
,gboolean expand_keys
);
Creates a new keylist
gboolean cryptui_keyset_has_key (CryptUIKeyset *keyset
,const gchar *key
);
Determines whether or not a key is present in the keyset
const gchar *
cryptui_keyset_get_keytype (CryptUIKeyset *keyset
);
Gets the libcryptui key prefix for the keyset
GList *
cryptui_keyset_get_keys (CryptUIKeyset *keyset
);
Gets a list of keys contained in the key set
guint
cryptui_keyset_get_count (CryptUIKeyset *keyset
);
Gets the number of keys stored in the keyset
void
cryptui_keyset_refresh (CryptUIKeyset *keyset
);
Checks the remote keyset to see which keys have been added or removed
gpointer cryptui_keyset_get_closure (CryptUIKeyset *keyset
,const gchar *key
);
TODO: Find out what closure is and document this function
void cryptui_keyset_set_closure (CryptUIKeyset *keyset
,const gchar *key
,gpointer closure
);
TODO: Find out what closure is and document this function
gboolean
cryptui_keyset_get_expand_keys (CryptUIKeyset *keyset
);
Gets whether or not non-primary key UIDs are included in the keyset
void cryptui_keyset_set_expand_keys (CryptUIKeyset *keyset
,gboolean expand_keys
);
Sets whether or not non-primary key UIDs are included in the keyset
void cryptui_keyset_cache_key (CryptUIKeyset *keyset
,const gchar *key
);
Stores the key's fields returned by the DBus method GetKeyFields in the keyset.
gchar * cryptui_keyset_key_get_string (CryptUIKeyset *keyset
,const gchar *key
,const gchar *prop
);
Gets the given property of the key in the keyset.
guint cryptui_keyset_key_get_uint (CryptUIKeyset *keyset
,const gchar *key
,const gchar *prop
);
Gets the given property of the key in the keyset.
guint cryptui_keyset_key_flags (CryptUIKeyset *keyset
,const gchar *key
);
Gets the key's flags
gchar * cryptui_keyset_key_display_name (CryptUIKeyset *keyset
,const gchar *key
);
Gets the "display-name" property of the given key
gchar * cryptui_keyset_key_display_id (CryptUIKeyset *keyset
,const gchar *key
);
Gets the "display-id" property of the given key
gchar * cryptui_keyset_key_raw_keyid (CryptUIKeyset *keyset
,const gchar *key
);
Gets the key's raw key id
gchar ** cryptui_keyset_keys_raw_keyids (CryptUIKeyset *keyset
,const gchar **keys
);
Gets the keys' raw key ids