Lines Matching refs:KeyStore

44 const char* KeyStore::kOldMasterKey = ".masterkey";
45 const char* KeyStore::kMetaDataFile = ".metadata";
47 const android::String16 KeyStore::kRsaKeyType("RSA");
48 const android::String16 KeyStore::kEcKeyType("EC");
52 KeyStore::KeyStore(const KeymasterDevices& kmDevices, in KeyStore() function in keystore::KeyStore
69 KeyStore::~KeyStore() { in ~KeyStore()
72 ResponseCode KeyStore::initialize() { in initialize()
81 ResponseCode KeyStore::initializeUser(const android::String8& pw, uid_t userId) { in initializeUser()
86 ResponseCode KeyStore::copyMasterKey(uid_t srcUser, uid_t dstUser) { in copyMasterKey()
92 ResponseCode KeyStore::writeMasterKey(const android::String8& pw, uid_t userId) { in writeMasterKey()
97 ResponseCode KeyStore::readMasterKey(const android::String8& pw, uid_t userId) { in readMasterKey()
102 LockedKeyBlobEntry KeyStore::getLockedBlobEntryIfNotExists(const std::string& alias, uid_t uid) { in getLockedBlobEntryIfNotExists()
109 std::optional<KeyBlobEntry> KeyStore::getBlobEntryIfExists(const std::string& alias, uid_t uid) { in getBlobEntryIfExists()
128 LockedKeyBlobEntry KeyStore::getLockedBlobEntryIfExists(const std::string& alias, uid_t uid) { in getLockedBlobEntryIfExists()
136 void KeyStore::resetUser(uid_t userId, bool keepUnenryptedEntries) { in resetUser()
208 bool KeyStore::isEmpty(uid_t userId) const { in isEmpty()
230 void KeyStore::lock(uid_t userId) { in lock()
242 std::tuple<ResponseCode, Blob, Blob> KeyStore::get(const LockedKeyBlobEntry& blobfile) { in get()
283 ResponseCode KeyStore::put(const LockedKeyBlobEntry& blobfile, Blob keyBlob, in put()
290 ResponseCode KeyStore::del(const LockedKeyBlobEntry& blobfile) { in del()
330 std::string KeyStore::addGrant(const LockedKeyBlobEntry& blobfile, uid_t granteeUid) { in addGrant()
334 bool KeyStore::removeGrant(const LockedKeyBlobEntry& blobfile, const uid_t granteeUid) { in removeGrant()
337 void KeyStore::removeAllGrantsToUid(const uid_t granteeUid) { in removeAllGrantsToUid()
341 bool KeyStore::isHardwareBacked(const android::String16& keyType) const { in isHardwareBacked()
356 KeyStore::getKeyForName(const android::String8& keyName, const uid_t uid, const BlobType type) { in getKeyForName()
372 bool KeyStore::upgradeBlob(Blob* blob, const uint8_t oldVersion) { in upgradeBlob()
405 void KeyStore::readMetaData() { in readMetaData()
417 void KeyStore::writeMetaData() { in writeMetaData()
434 bool KeyStore::upgradeKeystore() { in upgradeKeystore()
505 void KeyStore::binderDied(const ::android::wp<IBinder>& who) { in binderDied()