Home
last modified time | relevance | path

Searched refs:authIdentity (Results 1 - 2 of 2) sorted by relevance

/base/security/device_auth/services/creds_manager/src/
H A Dcreds_manager.c108 const AuthIdentity *authIdentity = GetAuthIdentityByType(identityType); in GetCredInfosByPeerIdentity() local
109 if (authIdentity == NULL) { in GetCredInfosByPeerIdentity()
113 int32_t ret = authIdentity->getCredInfosByPeerIdentity(in, vec); in GetCredInfosByPeerIdentity()
119 authIdentity = GetAuthIdentityByType(AUTH_IDENTITY_TYPE_P2P); in GetCredInfosByPeerIdentity()
120 if (authIdentity == NULL) { in GetCredInfosByPeerIdentity()
130 int32_t res = authIdentity->getCredInfosByPeerIdentity(in, vec); in GetCredInfosByPeerIdentity()
144 const AuthIdentity *authIdentity = getAuthIdentity(in, presharedUrl); in GetCredInfoByPeerUrl() local
145 if (!authIdentity) { in GetCredInfoByPeerUrl()
150 return authIdentity->getCredInfoByPeerUrl(in, presharedUrl, returnInfo); in GetCredInfoByPeerUrl()
175 const AuthIdentity *authIdentity in GetSharedSecretByUrl() local
205 const AuthIdentity *authIdentity = GetAuthIdentityByType(AUTH_IDENTITY_TYPE_GROUP); GetCredInfoByPeerCert() local
234 const AuthIdentity *authIdentity = GetAuthIdentityByType(AUTH_IDENTITY_TYPE_GROUP); GetSharedSecretByPeerCert() local
[all...]
/base/security/device_auth/test/unittest/deviceauth/source/
H A Ddeviceauth_func_test.cpp1333 const AuthIdentity *authIdentity = GetAuthIdentityByType(AUTH_IDENTITY_TYPE_INVALID); in HWTEST_F() local
1334 ASSERT_EQ(authIdentity, nullptr); in HWTEST_F()

Completed in 4 milliseconds