harmony 鸿蒙net_ssl_c.h

2025-06-12 浏览 (1)

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

NameDescription
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 鸿蒙Network Kit

harmony 鸿蒙NetConn_ConnectionProperties

harmony 鸿蒙NetConn_HttpProxy

harmony 鸿蒙NetConn_NetAddr

harmony 鸿蒙NetConn_NetCapabilities

harmony 鸿蒙NetConn_NetConnCallback

harmony 鸿蒙NetConn_NetHandle

harmony 鸿蒙NetConn_NetHandleList

harmony 鸿蒙NetConn_NetSpecifier

harmony 鸿蒙NetConn_Route

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/c7kMHA