/base/useriam/pin_auth/ |
D | README.md | 1 # PIN Authentication (pinauth) 7 …PIN authentication (pinauth) module allows users to set and delete their Personal Information Numb… 9 …PIN authentication to the collaborative authentication framework based on the resource registratio… 17 PINs are core assets in the system. The following security measures are taken in PIN authentication… 19 …PIN input user interface (currently including the PIN setting and PIN authentication dialog boxes)… 20 …ansmission: The raw PIN data is not transmitted across devices. After a user PIN is entered in the… 21 …nd comparison of PIN data: The pinauth HDI defines the adaptation interfaces for device vendors. D… 23 Note 1: To implement the PIN input dialog box, the application needs to register the PIN input dial… 25 …mework provides pure software implementation of PIN authentication for developers to demonstrate t… 58 | onGetData : (callback:IInputData)=>void | Obtains the PIN data.| [all …]
|
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/systemapi_wrap/useridm_test/user_iam_api_mock/ |
D | user_iam_define.h | 26 PIN = 1, enumerator 37 AuthType authType {PIN};
|
D | user_idm_client.cpp | 76 struct EnrolledInfo pinInfo = { PIN, g_enrolledForPin }; in ConstructSecUserInfo()
|
/base/account/os_account/frameworks/account_iam/test/unittest/src/ |
D | account_iam_client_no_permission_test.cpp | 213 …int32_t res = AccountIAMClient::GetInstance().GetCredentialInfo(TEST_USER_ID, AuthType::PIN, callb… 267 int32_t res = AccountIAMClient::GetInstance().RegisterInputer(AuthType::PIN, inputer); 269 AccountIAMClient::GetInstance().UnregisterInputer(AuthType::PIN); 284 TEST_USER_ID, TEST_CHALLENGE, AuthType::PIN, AuthTrustLevel::ATL1, callback); 299 …int32_t res = AccountIAMClient::GetInstance().Auth(TEST_CHALLENGE, AuthType::PIN, AuthTrustLevel::…
|
D | account_iam_client_test.cpp | 111 testPara.authType = AuthType::PIN; 144 testPara.authType = AuthType::PIN; 211 AccountIAMClient::GetInstance().GetCredentialInfo(TEST_USER_ID, AuthType::PIN, testCallback); 285 …AccountIAMClient::GetInstance().AuthUser(0, TEST_CHALLENGE, AuthType::PIN, AuthTrustLevel::ATL1, t… 287 TEST_USER_ID, TEST_CHALLENGE, AuthType::PIN, AuthTrustLevel::ATL1, testCallback); 302 …AccountIAMClient::GetInstance().Auth(TEST_CHALLENGE, AuthType::PIN, AuthTrustLevel::ATL1, testCall… 350 AccountIAMClient::GetInstance().RegisterInputer(AuthType::PIN, inputer)); 351 …COUNT_IAM_UNSUPPORTED_AUTH_TYPE, AccountIAMClient::GetInstance().UnregisterInputer(AuthType::PIN));
|
/base/useriam/pin_auth/test/unittest/src/ |
D | pin_auth_executor_hdi_unit_test.cpp | 84 .authType = PinHdi::PIN, in __anon8b044b7f0202() 93 EXPECT_TRUE(info.authType == IamAuthType::PIN); 108 .authType = PinHdi::PIN, in __anon8b044b7f0302() 123 {PinHdi::PIN, {IamAuthType::PIN, IamResultCode::SUCCESS}}, 124 {static_cast<PinHdi::AuthType>(PinHdi::PIN + 1), 125 {IamAuthType::PIN, IamResultCode::GENERAL_ERROR}}, 126 {static_cast<PinHdi::AuthType>(PinHdi::PIN - 1), 127 {IamAuthType::PIN, IamResultCode::GENERAL_ERROR}}, 171 .authType = PinHdi::PIN, in __anon8b044b7f0502() 207 .authType = PinHdi::PIN, in __anon8b044b7f0602()
|
/base/account/os_account/services/accountmgr/test/unittest/account_iam_callback_test/ |
D | account_iam_service_test.cpp | 206 int32_t res = accountIAMService_->GetCredentialInfo(0, AuthType::PIN, callback); 221 …int32_t res = accountIAMService_->AuthUser(0, challenge, AuthType::PIN, AuthTrustLevel::ATL1, call… 236 …res = accountIAMService_->GetAvailableStatus(AuthType::PIN, static_cast<AuthTrustLevel>(0), status…
|
D | account_iam_callback_test.cpp | 103 auto userAuthCallback = std::make_shared<AuthCallback>(TEST_USER_ID, AuthType::PIN, nullptr); 118 auto userAuthCallback = std::make_shared<AuthCallback>(TEST_USER_ID, AuthType::PIN, callback); 157 auto userAuthCallback = std::make_shared<AuthCallback>(TEST_USER_ID, AuthType::PIN, nullptr); 172 auto userAuthCallback = std::make_shared<AuthCallback>(TEST_USER_ID, AuthType::PIN, callback); 259 credInfo.authType = AuthType::PIN; 351 credInfo.authType = AuthType::PIN;
|
/base/account/os_account/services/accountmgr/src/account_iam/ |
D | account_iam_callback.cpp | 40 if (result != 0 || authType_ != AuthType::PIN) { in OnResult() 139 if (result != 0 || credInfo_.authType != AuthType::PIN) { in OnResult() 150 userId_, challenge, AuthType::PIN, AuthTrustLevel::ATL4, callback); in OnResult() 183 if (result != 0 || credInfo_.authType != AuthType::PIN) { in OnResult() 194 userId_, challenge, AuthType::PIN, AuthTrustLevel::ATL4, callback); in OnResult()
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | user_idm_database_test.cpp | 140 AuthType authType = PIN; 152 HdiAuthType authType = HdiAuthType::PIN; 178 AuthType authType1 = PIN; 244 EXPECT_EQ(testCredInfo->GetAuthType(), PIN); 293 EXPECT_EQ(testCredInfos[0]->GetAuthType(), PIN); 340 EXPECT_EQ(testCredInfos[0]->GetAuthType(), PIN);
|
D | enrolled_info_test.cpp | 65 EXPECT_EQ(ret, PIN);
|
D | user_idm_service_test.cpp | 143 AuthType testAuthType = PIN; 166 AuthType testAuthType = PIN; 176 AuthType testAuthType = PIN; 292 testCredPara.authType = PIN; 304 testCredPara.authType = PIN; 338 testCredPara.authType = PIN; 367 info.authType = HdiAuthType::PIN; in __anon746080660802() 389 EXPECT_CALL(*resourceNode, GetAuthType()).WillRepeatedly(Return(PIN));
|
D | co_auth_stub_test.cpp | 49 testInfo.authType = PIN;
|
/base/useriam/user_auth_framework/interfaces/inner_api/ |
D | iam_common_defines.h | 26 PIN = 1, enumerator
|
/base/account/os_account/frameworks/test/unittest/ |
D | account_iam_proxy_mock_test.cpp | 175 AccountIAMClient::GetInstance().GetCredentialInfo(TEST_USER_ID, AuthType::PIN, nullptr)); 190 TEST_USER_ID, TEST_CHALLENGE, AuthType::PIN, AuthTrustLevel::ATL1, testCallback));
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_mock/src/ |
D | hks_useridm_api_mock.cpp | 46 case USER_IAM::AuthType::PIN: in ConvertToHksAuthType()
|
/base/useriam/user_auth_framework/frameworks/native/client/src/ |
D | user_idm_callback_service.cpp | 73 if (info.authType == PIN && pinSubType.has_value()) { in OnCredentialInfos()
|
/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/inc/ |
D | common_dummy.h | 53 return PIN; in GetAuthType()
|
/base/account/os_account/services/accountmgr/test/unittest/account_iam/ |
D | account_iam_manager_test.cpp | 205 TEST_USER_ID, TEST_CHALLENGE, AuthType::PIN, AuthTrustLevel::ATL1, nullptr); 209 TEST_USER_ID, TEST_CHALLENGE, AuthType::PIN, AuthTrustLevel::ATL1, testCallback); 242 TEST_USER_ID, TEST_CHALLENGE, AuthType::PIN, AuthTrustLevel::ATL1, testCallback);
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/useridm/src/ |
D | hks_useridm_api_wrap.cpp | 43 *authType = USER_IAM::AuthType::PIN; in ConvertFromHksAuthType() 61 case USER_IAM::AuthType::PIN: in ConvertToHksAuthType()
|
/base/useriam/user_auth_framework/test/unittest/inner_api/src/ |
D | co_auth_proxy_test.cpp | 50 testInfo.authType = PIN;
|
D | co_auth_client_test.cpp | 50 testInfo.authType = PIN;
|
D | user_auth_client_test.cpp | 165 testRequest.authType = PIN; 207 AuthType testAuthType = PIN; 227 AuthType testAuthType = PIN; 274 AuthType testAuthType = PIN; 294 AuthType testAuthType = PIN;
|
/base/useriam/pin_auth/services/modules/executors/src/ |
D | pin_auth_executor_hdi.cpp | 96 OHOS::HiviewDFX::HiSysEvent::EventType::SECURITY, "EXECUTOR_TYPE", UserAuth::PIN, in OnRegisterFinish() 268 {PinHdi::PIN, UserAuth::AuthType::PIN}, in ConvertAuthType()
|
/base/useriam/user_auth_framework/services/ipc/src/ |
D | user_auth_service.cpp | 179 …if (!isInnerCaller && authType != PIN && IpcCommon::CheckPermission(*this, ACCESS_BIOMETRIC_PERMIS… in CheckAuthPermission() 191 if (authType == PIN) { in CheckNorthPermission() 339 if (authType == PIN) { in Identify()
|