Home
last modified time | relevance | path

Searched refs:trustType (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/security/device_auth/services/creds_manager/src/
H A Dcreds_manager.c53 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 Didentity_common.c68 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 Didentity_group.c421 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 Dcert_operation.c51 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 Didentity_common.h30 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 Ddev_session_util.c285 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 Ddev_session_v2.c1029 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()