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:
Michael Lotz
2013-03-05 11:04:30 -05:00
committed by Ryan Leavengood
parent f17ddab827
commit c8ae843f3d
8 changed files with 76 additions and 77 deletions
+4 -4
View File
@@ -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
+2 -2
View File
@@ -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',
};