1# net_ssl_c.h
2
3
4## Overview
5
6Defines C APIs for the SSL/TLS certificate chain verification module.
7
8**Library**: libnet_ssl.so
9
10**System capability**: SystemCapability.Communication.NetStack
11
12**Since**: 11
13
14**Related module**: [Netstack](netstack.md)
15
16
17## Summary
18
19
20### Callback
21
22| Name| Description|
23| -------- | -------- |
24| [OH_NetStack_CertVerification](netstack.md#oh_netstack_certverification) (const struct [NetStack_CertBlob](_net_stack___cert_blob.md) \*cert, const struct [NetStack_CertBlob](_net_stack___cert_blob.md) \*caCert) | Verifies the certificate chain.|
25| [OH_NetStack_GetPinSetForHostName](netstack.md#OH_NetStack_GetPinSetForHostName)(const char \*hostname, [NetStack_CertificatePinning](_net_stack___certificate_pinning.md) \*pin) | Obtains the certificate lock information.|
26| [OH_NetStack_GetCertificatesForHostName](netstack.md#OH_NetStack_GetCertificatesForHostName)(const char \*hostname, [NetStack_Certificates](_net_stack___certificates.md) \*certs) | Obtains certificate information.|
27| [OH_Netstack_DestroyCertificatesContent](netstack.md#OH_Netstack_DestroyCertificatesContent)([NetStack_Certificates](_net_stack___certificates.md) \*certs) | Releases the certificate content.|
28