Rename keyring "access/revoke" to "unlock/lock".
The unlock/lock concept just seems easier to grasp and is used in various similar tools as well.
This commit is contained in:
committed by
Ryan Leavengood
parent
f17ddab827
commit
c8ae843f3d
@@ -71,11 +71,11 @@ public:
|
||||
status_t GetNextMasterKeyring(uint32& cookie,
|
||||
BString& keyring);
|
||||
|
||||
// Access
|
||||
// Locking
|
||||
|
||||
bool IsKeyringAccessible(const char* keyring);
|
||||
status_t RevokeAccess(const char* keyring);
|
||||
status_t RevokeMasterAccess();
|
||||
bool IsKeyringUnlocked(const char* keyring);
|
||||
status_t LockKeyring(const char* keyring);
|
||||
status_t LockMasterKeyring();
|
||||
|
||||
// Applications
|
||||
|
||||
|
||||
@@ -35,8 +35,8 @@ enum {
|
||||
KEY_STORE_ADD_KEYRING_TO_MASTER = 'KarM',
|
||||
KEY_STORE_REMOVE_KEYRING_FROM_MASTER = 'KrrM',
|
||||
KEY_STORE_GET_NEXT_MASTER_KEYRING = 'KnrM',
|
||||
KEY_STORE_IS_KEYRING_ACCESSIBLE = 'KiaR',
|
||||
KEY_STORE_REVOKE_ACCESS = 'KvaR',
|
||||
KEY_STORE_IS_KEYRING_UNLOCKED = 'KuKR',
|
||||
KEY_STORE_LOCK_KEYRING = 'KlKR',
|
||||
KEY_STORE_GET_NEXT_APPLICATION = 'KnKA',
|
||||
KEY_STORE_REMOVE_APPLICATION = 'KrKA',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user