Searched refs:trustType (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/base/security/device_auth/services/creds_manager/src/ |
H A D | creds_manager.c | 53 int32_t trustType = 0; in IsPinAuth() local 54 if (GetIntFromJson(urlJson, PRESHARED_URL_TRUST_TYPE, &trustType) != HC_SUCCESS) { in IsPinAuth() 61 return (keyType == KEY_TYPE_SYM) && (trustType == TRUST_TYPE_PIN); in IsPinAuth()
|
/ohos5.0/base/security/device_auth/services/identity_manager/src/ |
H A D | identity_common.c | 68 CJson *CreateCredUrlJson(int32_t credentailType, int32_t keyType, int32_t trustType) in CreateCredUrlJson() argument 85 if (AddIntToJson(urlJson, PRESHARED_URL_TRUST_TYPE, trustType) != HC_SUCCESS) { in CreateCredUrlJson()
|
H A D | identity_group.c | 421 int32_t trustType = 0; in GetCredInfoByPeerUrl() local 422 if (GetIntFromJson(urlJson, PRESHARED_URL_TRUST_TYPE, &trustType) != HC_SUCCESS) { in GetCredInfoByPeerUrl() 435 switch (trustType) { in GetCredInfoByPeerUrl() 854 int32_t trustType = 0; in GetSharedSecretByUrl() local 855 if (GetIntFromJson(urlJson, PRESHARED_URL_TRUST_TYPE, &trustType) != HC_SUCCESS) { in GetSharedSecretByUrl() 862 switch (trustType) { in GetSharedSecretByUrl()
|
H A D | cert_operation.c | 51 static int32_t GetIdentityInfoByType(int32_t keyType, int32_t trustType, const char *groupId, Ident… in GetIdentityInfoByType() argument 68 if (AddIntToJson(urlJson, PRESHARED_URL_TRUST_TYPE, trustType) != HC_SUCCESS) { in GetIdentityInfoByType() 73 if ((trustType == TRUST_TYPE_P2P || trustType == TRUST_TYPE_UID) && in GetIdentityInfoByType()
|
/ohos5.0/base/security/device_auth/services/identity_manager/inc/ |
H A D | identity_common.h | 30 CJson *CreateCredUrlJson(int32_t credentailType, int32_t keyType, int32_t trustType);
|
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/ |
H A 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()
|
H A D | dev_session_v2.c | 1029 int32_t trustType; in CreateDlSpekeSubSession() local 1030 if (GetIntFromJson(urlJson, PRESHARED_URL_TRUST_TYPE, &trustType) != HC_SUCCESS) { in CreateDlSpekeSubSession() 1036 if (trustType != TRUST_TYPE_PIN) { in CreateDlSpekeSubSession() 1318 int32_t trustType; in AddAuthInfoToContextByCred() local 1319 if (GetIntFromJson(urlJson, PRESHARED_URL_TRUST_TYPE, &trustType) != HC_SUCCESS) { in AddAuthInfoToContextByCred() 1324 if (trustType == TRUST_TYPE_PIN) { in AddAuthInfoToContextByCred()
|