Top | ![]() |
![]() |
![]() |
![]() |
CryptUIKeyChooser * cryptui_key_chooser_new (CryptUIKeyset *ckset
,CryptUIKeyChooserMode mode
);
Creates a key chooser widget from a key set.
gboolean
cryptui_key_chooser_get_enforce_prefs (CryptUIKeyChooser *chooser
);
Gets whether or not the preference to encrypt to self will be enforced. If TRUE, the default signing key will be added to the recipient list. If FALSE, the selected recipients will be returned without adding the default signing key.
void cryptui_key_chooser_set_enforce_prefs (CryptUIKeyChooser *chooser
,gboolean enforce_prefs
);
Sets whether or not the preference to encrypt to self will be enforced. If TRUE, the default signing key will be added to the recipient list. If FALSE, the selected recipients will be returned without adding the default signing key.
gboolean
cryptui_key_chooser_have_recipients (CryptUIKeyChooser *chooser
);
Determines if recipient keys have been selected.
GList *
cryptui_key_chooser_get_recipients (CryptUIKeyChooser *chooser
);
This function returns a list of recipients selected in the chooser widget.
void cryptui_key_chooser_set_recipients (CryptUIKeyChooser *chooser
,GList *keys
);
Marks the listed keys as selected in the chooser widget.
const gchar *
cryptui_key_chooser_get_signer (CryptUIKeyChooser *chooser
);
Gets the key of the selected signer from the chooser widget.
void cryptui_key_chooser_set_signer (CryptUIKeyChooser *chooser
,const gchar *key
);
Sets the signer in the chooser to the provided key.