openharmony 鸿蒙 capi-net-ssl-c-type-h

2026-08-25 浏览 (1)

net_ssl_c_type.h

Overview

Defines data structures for the C APIs of the SSL/TLS certificate chain verification module.

File to include: <network/netstack/net_ssl/net_ssl_c_type.h>

Library: libnet_ssl.so

System capability: SystemCapability.Communication.NetStack

Since: 11

Related module: netstack

Summary

Structs

Nametypedef KeywordDescription
NetStack_CertBlob-Certificate data structure.
NetStack_CertificatePinningNetStack_CertificatePinningDefines certificate pinning information.
NetStack_CertificatesNetStack_CertificatesDefine certificate information.

Enums

Nametypedef KeywordDescription
NetStack_CertType-Certificate type enums.
NetStack_CertificatePinningKindNetStack_CertificatePinningKindCertificate pinning type enums.
NetStack_HashAlgorithmNetStack_HashAlgorithmHash algorithm enums.

Enum Description

NetStack_CertType

enum NetStack_CertType

Description

Certificate type enums.

Since: 11

Enum ItemDescription
NETSTACK_CERT_TYPE_PEM = 0PEM certificate.
NETSTACK_CERT_TYPE_DER = 1DER certificate.
NETSTACK_CERT_TYPE_INVALIDInvalid certificate.

NetStack_CertificatePinningKind

enum NetStack_CertificatePinningKind

Description

Certificate pinning type enums.

Since: 12

Enum ItemDescription
PUBLIC_KEYPublic key lock type.

NetStack_HashAlgorithm

enum NetStack_HashAlgorithm

Description

Hash algorithm enums.

Since: 12

Enum ItemDescription
SHA_256Sha256

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-netconnection-netconn-connectionproperties

openharmony 鸿蒙 errorcode-net-mdns

openharmony 鸿蒙 js-apis-net-ethernet-sys

openharmony 鸿蒙 errorcode-net-http

openharmony 鸿蒙 capi-netstack-http-proxy

openharmony 鸿蒙 js-apis-system-fetch

openharmony 鸿蒙 errorcode-kernel

openharmony 鸿蒙 capi-netstack-netstack-certblob

openharmony 鸿蒙 js-apis-net-mdns

openharmony 鸿蒙 capi-netstack-websocket-closeoption

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