Searched refs:trustType (Results 1 – 5 of 5) sorted by relevance
/base/security/device_auth/services/creds_manager/src/ |
D | creds_operation_utils.c | 134 static int32_t SetProtocolsForPresharedCred(int32_t trustType, int32_t keyType, IdentityInfo *info) in SetProtocolsForPresharedCred() argument 136 if (trustType == TRUST_TYPE_PIN) { in SetProtocolsForPresharedCred() 138 } else if (trustType == TRUST_TYPE_UID) { in SetProtocolsForPresharedCred() 178 int32_t GetIdentityInfoByType(int32_t keyType, int32_t trustType, const char *groupId, IdentityInfo… in GetIdentityInfoByType() argument 195 if (AddIntToJson(urlJson, PRESHARED_URL_TRUST_TYPE, trustType) != HC_SUCCESS) { in GetIdentityInfoByType() 200 if ((trustType == TRUST_TYPE_P2P || trustType == TRUST_TYPE_UID) && in GetIdentityInfoByType() 220 ret = SetProtocolsForPresharedCred(trustType, keyType, info); in GetIdentityInfoByType()
|
D | creds_manager.c | 260 int32_t trustType = 0; in GetCredInfoByPeerUrlInner() local 261 if (GetIntFromJson(urlJson, PRESHARED_URL_TRUST_TYPE, &trustType) != HC_SUCCESS) { in GetCredInfoByPeerUrlInner() 267 switch (trustType) { in GetCredInfoByPeerUrlInner() 791 int32_t trustType = 0; in GetSharedSecretByUrl() local 792 if (GetIntFromJson(urlJson, PRESHARED_URL_TRUST_TYPE, &trustType) != HC_SUCCESS) { in GetSharedSecretByUrl() 798 switch (trustType) { in GetSharedSecretByUrl()
|
/base/security/device_auth/services/creds_manager/inc/ |
D | creds_operation_utils.h | 31 int32_t GetIdentityInfoByType(int32_t keyType, int32_t trustType, const char *groupId, IdentityInfo…
|
/base/security/device_auth/services/session_manager/src/session/v2/ |
D | dev_session_util.c | 285 int32_t trustType = 0; in IsP2pAuth() local 286 if (GetIntFromJson(urlJson, PRESHARED_URL_TRUST_TYPE, &trustType) != HC_SUCCESS) { in IsP2pAuth() 292 return trustType == TRUST_TYPE_P2P; in IsP2pAuth()
|
D | dev_session_v2.c | 1142 int32_t trustType; in AddAuthInfoToContextByCred() local 1143 if (GetIntFromJson(urlJson, PRESHARED_URL_TRUST_TYPE, &trustType) != HC_SUCCESS) { in AddAuthInfoToContextByCred() 1148 if (trustType == TRUST_TYPE_PIN) { in AddAuthInfoToContextByCred()
|