Top |
typedef | GnomeKeyringAccessControl |
typedef | GnomeKeyringApplicationRef |
enum | GnomeKeyringAccessType |
enum | GnomeKeyringAccessRestriction |
Each item has an access control list, which specifies the applications that
can read, write or delete an item. The read access applies only to reading the secret.
All applications can read other parts of the item. ACLs are accessed and changed
gnome_keyring_item_get_acl()
and gnome_keyring_item_set_acl()
.
GnomeKeyringApplicationRef *
gnome_keyring_application_ref_new (void
);
gnome_keyring_application_ref_new
is deprecated and should not be used in newly-written code.
Not needed when using libsecret.
Create a new application reference.
GnomeKeyringApplicationRef *
gnome_keyring_application_ref_copy (const GnomeKeyringApplicationRef *app
);
gnome_keyring_application_ref_copy
is deprecated and should not be used in newly-written code.
Not needed when using libsecret.
Copy an application reference.
void
gnome_keyring_application_ref_free (GnomeKeyringApplicationRef *app
);
gnome_keyring_application_ref_free
is deprecated and should not be used in newly-written code.
Not needed when using libsecret.
Free an application reference.
GnomeKeyringAccessControl * gnome_keyring_access_control_new (const GnomeKeyringApplicationRef *application
,GnomeKeyringAccessType types_allowed
);
gnome_keyring_access_control_new
is deprecated and should not be used in newly-written code.
Not needed when using libsecret.
Create a new access control for an item. Combine the various access rights allowed.
The new GnomeKeyringAccessControl pointer. Use
gnome_keyring_access_control_free()
to free the memory.
GnomeKeyringAccessControl *
gnome_keyring_access_control_copy (GnomeKeyringAccessControl *ac
);
gnome_keyring_access_control_copy
is deprecated and should not be used in newly-written code.
Not needed when using libsecret.
Copy an access control for an item.
The new GnomeKeyringAccessControl pointer. Use
gnome_keyring_access_control_free()
to free the memory.
void
gnome_keyring_access_control_free (GnomeKeyringAccessControl *ac
);
gnome_keyring_access_control_free
is deprecated and should not be used in newly-written code.
Not needed when using libsecret.
Free an access control for an item.
GList *
gnome_keyring_acl_copy (GList *list
);
gnome_keyring_acl_copy
is deprecated and should not be used in newly-written code.
Not needed when using libsecret.
Copy an access control list.
list |
A list of GnomeKeyringAccessControl pointers. |
[element-type GnomeKeyringAccessControl] |
A new list of GnomeKeyringAccessControl items. Use gnome_keyring_acl_free()
to free the memory.
[transfer full][element-type GnomeKeyringAccessControl]
void
gnome_keyring_acl_free (GList *acl
);
gnome_keyring_acl_free
is deprecated and should not be used in newly-written code.
Not needed when using libsecret.
Free an access control list.
acl |
A list of GnomeKeyringAccessControl pointers. |
[element-type GnomeKeyringAccessControl] |
char *
gnome_keyring_item_ac_get_display_name
(GnomeKeyringAccessControl *ac
);
gnome_keyring_item_ac_get_display_name
is deprecated and should not be used in newly-written code.
Not supported when using libsecret.
Get the access control application's display name.
void gnome_keyring_item_ac_set_display_name (GnomeKeyringAccessControl *ac
,const char *value
);
gnome_keyring_item_ac_set_display_name
is deprecated and should not be used in newly-written code.
Not supported when using libsecret.
Set the access control application's display name.
char *
gnome_keyring_item_ac_get_path_name (GnomeKeyringAccessControl *ac
);
gnome_keyring_item_ac_get_path_name
is deprecated and should not be used in newly-written code.
Not supported when using libsecret.
Get the access control application's full path name.
void gnome_keyring_item_ac_set_path_name (GnomeKeyringAccessControl *ac
,const char *value
);
gnome_keyring_item_ac_set_path_name
is deprecated and should not be used in newly-written code.
Not supported when using libsecret.
Set the access control application's full path name.
GnomeKeyringAccessType
gnome_keyring_item_ac_get_access_type (GnomeKeyringAccessControl *ac
);
gnome_keyring_item_ac_get_access_type
is deprecated and should not be used in newly-written code.
Not supported when using libsecret.
Get the application access rights for the access control.
void gnome_keyring_item_ac_set_access_type (GnomeKeyringAccessControl *ac
,const GnomeKeyringAccessType value
);
gnome_keyring_item_ac_set_access_type
is deprecated and should not be used in newly-written code.
Not supported when using libsecret.
Set the application access rights for the access control.
typedef struct GnomeKeyringAccessControl GnomeKeyringAccessControl;
GnomeKeyringAccessControl
is deprecated and should not be used in newly-written code.
A structure which contains access control information.
typedef struct GnomeKeyringApplicationRef GnomeKeyringApplicationRef;
GnomeKeyringApplicationRef
is deprecated and should not be used in newly-written code.
GnomeKeyringAccessType
is deprecated and should not be used in newly-written code.
libsecret only supports string attributes.
Type of access.