Lines Matching refs:profile
177 bool checkReaderAuthentication(const SecureAccessControlProfile& profile, in checkReaderAuthentication() argument
180 byteStringToUnsigned(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()
471 for (const auto& profile : accessControlProfiles) { in startRetrieval() local
472 if (!secureAccessControlProfileCheckMac(profile, storageKey_)) { in startRetrieval()
479 if (profile.userAuthenticationRequired) { in startRetrieval()
481 !checkUserAuthentication(profile, verificationToken_, authToken, authChallenge_)) { in startRetrieval()
484 } else if (profile.readerCertificate.encodedCertificate.size() > 0) { in startRetrieval()
486 !checkReaderAuthentication(profile, readerCertificateChain.value())) { in startRetrieval()
490 profileIdToAccessCheckResult_[profile.id] = accessControlCheck; in startRetrieval()