harmony 鸿蒙net_ssl_c.h
net_ssl_c.h
Overview
Defines C APIs for the SSL/TLS certificate chain verification module.
Library: libnet_ssl.so
System capability: SystemCapability.Communication.NetStack
Since: 11
Related module: Netstack
Summary
Callback
Name | Description |
---|---|
OH_NetStack_CertVerification (const struct NetStack_CertBlob *cert, const struct NetStack_CertBlob *caCert) | Verifies the certificate chain. |
OH_NetStack_GetPinSetForHostName(const char *hostname, NetStack_CertificatePinning *pin) | Obtains the certificate lock information. |
OH_NetStack_GetCertificatesForHostName(const char *hostname, NetStack_Certificates *certs) | Obtains certificate information. |
OH_Netstack_DestroyCertificatesContent(NetStack_Certificates *certs) | Releases the certificate content. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙NetConn_ConnectionProperties
harmony 鸿蒙NetConn_NetCapabilities
harmony 鸿蒙NetConn_NetConnCallback
harmony 鸿蒙NetConn_NetHandleList
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦