Home
last modified time | relevance | path

Searched refs:PIN (Results 1 – 25 of 40) sorted by relevance

12

/base/useriam/pin_auth/
DREADME.md1 # PIN Authentication (pinauth)
7PIN authentication (pinauth) module allows users to set and delete their Personal Information Numb…
9PIN 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…
19PIN 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/
Duser_iam_define.h26 PIN = 1, enumerator
37 AuthType authType {PIN};
Duser_idm_client.cpp76 struct EnrolledInfo pinInfo = { PIN, g_enrolledForPin }; in ConstructSecUserInfo()
/base/account/os_account/frameworks/account_iam/test/unittest/src/
Daccount_iam_client_no_permission_test.cpp213 …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::…
Daccount_iam_client_test.cpp111 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/
Dpin_auth_executor_hdi_unit_test.cpp84 .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/
Daccount_iam_service_test.cpp206 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…
Daccount_iam_callback_test.cpp103 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/
Daccount_iam_callback.cpp40 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/
Duser_idm_database_test.cpp140 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);
Denrolled_info_test.cpp65 EXPECT_EQ(ret, PIN);
Duser_idm_service_test.cpp143 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));
Dco_auth_stub_test.cpp49 testInfo.authType = PIN;
/base/useriam/user_auth_framework/interfaces/inner_api/
Diam_common_defines.h26 PIN = 1, enumerator
/base/account/os_account/frameworks/test/unittest/
Daccount_iam_proxy_mock_test.cpp175 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/
Dhks_useridm_api_mock.cpp46 case USER_IAM::AuthType::PIN: in ConvertToHksAuthType()
/base/useriam/user_auth_framework/frameworks/native/client/src/
Duser_idm_callback_service.cpp73 if (info.authType == PIN && pinSubType.has_value()) { in OnCredentialInfos()
/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/inc/
Dcommon_dummy.h53 return PIN; in GetAuthType()
/base/account/os_account/services/accountmgr/test/unittest/account_iam/
Daccount_iam_manager_test.cpp205 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/
Dhks_useridm_api_wrap.cpp43 *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/
Dco_auth_proxy_test.cpp50 testInfo.authType = PIN;
Dco_auth_client_test.cpp50 testInfo.authType = PIN;
Duser_auth_client_test.cpp165 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/
Dpin_auth_executor_hdi.cpp96 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/
Duser_auth_service.cpp179 …if (!isInnerCaller && authType != PIN && IpcCommon::CheckPermission(*this, ACCESS_BIOMETRIC_PERMIS… in CheckAuthPermission()
191 if (authType == PIN) { in CheckNorthPermission()
339 if (authType == PIN) { in Identify()

12