Lines Matching refs:profile
177 bool checkReaderAuthentication(const SecureAccessControlProfile& profile, in checkReaderAuthentication() argument
180 support::certificateChainGetTopMostKey(profile.readerCertificate.encodedCertificate); in checkReaderAuthentication()
206 bool checkUserAuthentication(const SecureAccessControlProfile& profile, in checkUserAuthentication() argument
209 if (profile.secureUserId != authToken.userId) { in checkUserAuthentication()
210 LOG(ERROR) << "secureUserId in profile (" << profile.secureUserId in checkUserAuthentication()
224 if (profile.timeoutMillis == 0) { in checkUserAuthentication()
248 if (now.milliSeconds > authToken.timestamp.milliSeconds + profile.timeoutMillis) { in checkUserAuthentication()
250 << profile.timeoutMillis << " = " in checkUserAuthentication()
251 << (authToken.timestamp.milliSeconds + profile.timeoutMillis) in checkUserAuthentication()
467 for (const auto& profile : accessControlProfiles) { in startRetrieval() local
468 if (!secureAccessControlProfileCheckMac(profile, storageKey_)) { in startRetrieval()
475 if (profile.userAuthenticationRequired) { in startRetrieval()
477 !checkUserAuthentication(profile, verificationToken_, authToken, authChallenge_)) { in startRetrieval()
480 } else if (profile.readerCertificate.encodedCertificate.size() > 0) { in startRetrieval()
482 !checkReaderAuthentication(profile, readerCertificateChain.value())) { in startRetrieval()
486 profileIdToAccessCheckResult_[profile.id] = accessControlCheck; in startRetrieval()