Home
last modified time | relevance | path

Searched refs:softbusCertChain (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/dsoftbus/core/authentication/src/virtual/
H A Dauth_attest_virtual.c42 int32_t GenerateCertificate(SoftbusCertChain *softbusCertChain, const AuthSessionInfo *info) in GenerateCertificate() argument
44 (void)softbusCertChain; in GenerateCertificate()
49 int32_t VerifyCertificate(SoftbusCertChain *softbusCertChain, const NodeInfo *nodeInfo, const AuthSessionInfo *info) in VerifyCertificate() argument
51 (void)softbusCertChain; in VerifyCertificate()
57 int32_t InitSoftbusChain(SoftbusCertChain *softbusCertChain) in InitSoftbusChain() argument
59 (void)softbusCertChain; in InitSoftbusChain()
63 void FreeSoftbusChain(SoftbusCertChain *softbusCertChain) in FreeSoftbusChain() argument
65 (void)softbusCertChain; in FreeSoftbusChain()
/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_attest_interface.h52 int32_t GenerateCertificate(SoftbusCertChain *softbusCertChain, const AuthSessionInfo *info);
53 int32_t VerifyCertificate(SoftbusCertChain *softbusCertChain, const NodeInfo *nodeInfo, const AuthSessionInfo *info);
54 int32_t InitSoftbusChain(SoftbusCertChain *softbusCertChain);
55 void FreeSoftbusChain(SoftbusCertChain *softbusCertChain);
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c1887 SoftbusCertChain softbusCertChain; in PackCertificateInfo() local
1888 (void)memset_s(&softbusCertChain, sizeof(SoftbusCertChain), 0, sizeof(SoftbusCertChain)); in PackCertificateInfo()
1889 if (GenerateCertificate(&softbusCertChain, info) != SOFTBUS_OK) { in PackCertificateInfo()
1893 if (!JSON_AddBytesToObject(json, ATTEST_CERTS, softbusCertChain.cert[ATTEST_CERTS_INDEX].data, in PackCertificateInfo()
1894 softbusCertChain.cert[ATTEST_CERTS_INDEX].size) || in PackCertificateInfo()
1895 !JSON_AddBytesToObject(json, DEVICE_CERTS, softbusCertChain.cert[DEVICE_CERTS_INDEX].data, in PackCertificateInfo()
1896 softbusCertChain.cert[DEVICE_CERTS_INDEX].size) || in PackCertificateInfo()
1897 !JSON_AddBytesToObject(json, MANUFACTURE_CERTS, softbusCertChain.cert[MANUFACTURE_CERTS_INDEX].data, in PackCertificateInfo()
1898 softbusCertChain.cert[MANUFACTURE_CERTS_INDEX].size) || in PackCertificateInfo()
1899 !JSON_AddBytesToObject(json, ROOT_CERTS, softbusCertChain in PackCertificateInfo()
1915 SoftbusCertChain softbusCertChain; UnpackCertificateInfo() local
[all...]

Completed in 4 milliseconds