Home
last modified time | relevance | path

Searched refs:AuthIdentity (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/security/device_auth/services/identity_manager/inc/
H A Didentity_manager.h50 } AuthIdentity; typedef
60 const AuthIdentity *(*getAuthIdentityByType)(AuthIdentityType type);
64 const AuthIdentity *GetGroupAuthIdentity(void);
65 const AuthIdentity *GetPinAuthIdentity(void);
66 const AuthIdentity *GetP2pAuthIdentity(void);
67 const AuthIdentity *GetAuthIdentityByType(AuthIdentityType type);
/ohos5.0/base/security/device_auth/services/creds_manager/src/
H A Dcreds_manager.c64 static const AuthIdentity *getAuthIdentity(const CJson *in, const Uint8Buff *presharedUrl) in getAuthIdentity()
108 const AuthIdentity *authIdentity = GetAuthIdentityByType(identityType); in GetCredInfosByPeerIdentity()
144 const AuthIdentity *authIdentity = getAuthIdentity(in, presharedUrl); in GetCredInfoByPeerUrl()
162 const AuthIdentity *authIdentityTest = GetAuthIdentityByType(AUTH_IDENTITY_TYPE_P2P); in GetSharedSecretByUrl()
175 const AuthIdentity *authIdentity = getAuthIdentity(in, presharedUrl); in GetSharedSecretByUrl()
192 const AuthIdentity *authIdentityTest = GetAuthIdentityByType(AUTH_IDENTITY_TYPE_P2P); in GetCredInfoByPeerCert()
205 const AuthIdentity *authIdentity = GetAuthIdentityByType(AUTH_IDENTITY_TYPE_GROUP); in GetCredInfoByPeerCert()
221 const AuthIdentity *authIdentityTest = GetAuthIdentityByType(AUTH_IDENTITY_TYPE_P2P); in GetSharedSecretByPeerCert()
234 const AuthIdentity *authIdentity = GetAuthIdentityByType(AUTH_IDENTITY_TYPE_GROUP); in GetSharedSecretByPeerCert()
/ohos5.0/base/security/device_auth/services/identity_manager/src/mock/
H A Didentity_manager_mock.c36 const AuthIdentity *GetAuthIdentityByType(AuthIdentityType type) in GetAuthIdentityByType()
47 const AuthIdentity *GetGroupAuthIdentity(void) in GetGroupAuthIdentity()
52 const AuthIdentity *GetPinAuthIdentity(void) in GetPinAuthIdentity()
57 const AuthIdentity *GetP2pAuthIdentity(void) in GetP2pAuthIdentity()
/ohos5.0/base/security/device_auth/services/identity_manager/src/
H A Didentity_manager.c38 const AuthIdentity *GetAuthIdentityByType(AuthIdentityType type) in GetAuthIdentityByType()
H A Didentity_pin.c375 static const AuthIdentity g_authIdentity = {
383 const AuthIdentity *GetPinAuthIdentity(void) in GetPinAuthIdentity()
H A Didentity_p2p.c344 static const AuthIdentity g_authIdentity = {
352 const AuthIdentity *GetP2pAuthIdentity(void) in GetP2pAuthIdentity()
H A Didentity_group.c931 static const AuthIdentity g_authIdentity = {
939 const AuthIdentity *GetGroupAuthIdentity(void) in GetGroupAuthIdentity()
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/
H A Didentity_manager_test.cpp176 const AuthIdentity *identity = GetGroupAuthIdentity();
212 const AuthIdentity *identity = GetP2pAuthIdentity();
253 const AuthIdentity *identity = GetPinAuthIdentity();
H A Ddeviceauth_func_test.cpp1333 const AuthIdentity *authIdentity = GetAuthIdentityByType(AUTH_IDENTITY_TYPE_INVALID);