Searched refs:keyEntryResponse (Results 1 – 3 of 3) sorted by relevance
231 ks2::KeyEntryResponse keyEntryResponse; in loadOrCreateAndVerifyEncryptionKey() local234 auto rc = keystore->getKeyEntry(keyDescriptor(name), &keyEntryResponse); in loadOrCreateAndVerifyEncryptionKey()263 rc = keystore->getKeyEntry(keyDescriptor(name), &keyEntryResponse); in loadOrCreateAndVerifyEncryptionKey()271 if (!verifyEncryptionKeyAttributes(keyEntryResponse.metadata.authorizations)) { in loadOrCreateAndVerifyEncryptionKey()276 return keyEntryResponse; in loadOrCreateAndVerifyEncryptionKey()284 ks2::KeyEntryResponse keyEntryResponse; in loadOrCreateAndVerifyAuthenticationKey() local287 auto rc = keystore->getKeyEntry(keyDescriptor(name), &keyEntryResponse); in loadOrCreateAndVerifyAuthenticationKey()316 rc = keystore->getKeyEntry(keyDescriptor(name), &keyEntryResponse); in loadOrCreateAndVerifyAuthenticationKey()324 if (!verifyAuthenticationKeyAttributes(keyEntryResponse.metadata.authorizations)) { in loadOrCreateAndVerifyAuthenticationKey()329 return keyEntryResponse; in loadOrCreateAndVerifyAuthenticationKey()[all …]
185 KeyEntryResponse keyEntryResponse; in verifyExistingKey() local187 auto status = mService->getKeyEntry(mDescriptor, &keyEntryResponse); in verifyExistingKey()197 if (keyEntryResponse.metadata.keySecurityLevel != SecurityLevel::TRUSTED_ENVIRONMENT) { in verifyExistingKey()200 keyEntryResponse.metadata.keySecurityLevel); in verifyExistingKey()205 for (const auto& auth : keyEntryResponse.metadata.authorizations) { in verifyExistingKey()222 auto cert = keyEntryResponse.metadata.certificate; in verifyExistingKey()
127 KeyEntryResponse keyEntryResponse; in initialize() local129 auto status = mService->getKeyEntry(mDescriptor, &keyEntryResponse); in initialize()134 for (const auto& auth : keyEntryResponse.metadata.authorizations) { in initialize()