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. |