harmony 鸿蒙net_ssl_c.h

  • 2025-06-12
  • 浏览 (4)

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 鸿蒙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

0  赞