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
| Name | typedef Keyword | Description |
|---|---|---|
| NetStack_CertBlob | - | Certificate data structure. |
| NetStack_CertificatePinning | NetStack_CertificatePinning | Defines certificate pinning information. |
| NetStack_Certificates | NetStack_Certificates | Define certificate information. |
Enums
| Name | typedef Keyword | Description |
|---|---|---|
| NetStack_CertType | - | Certificate type enums. |
| NetStack_CertificatePinningKind | NetStack_CertificatePinningKind | Certificate pinning type enums. |
| NetStack_HashAlgorithm | NetStack_HashAlgorithm | Hash algorithm enums. |
Enum Description
NetStack_CertType
enum NetStack_CertType
Description
Certificate type enums.
Since: 11
| Enum Item | Description |
|---|---|
| NETSTACK_CERT_TYPE_PEM = 0 | PEM certificate. |
| NETSTACK_CERT_TYPE_DER = 1 | DER certificate. |
| NETSTACK_CERT_TYPE_INVALID | Invalid certificate. |
NetStack_CertificatePinningKind
enum NetStack_CertificatePinningKind
Description
Certificate pinning type enums.
Since: 12
| Enum Item | Description |
|---|---|
| PUBLIC_KEY | Public key lock type. |
NetStack_HashAlgorithm
enum NetStack_HashAlgorithm
Description
Hash algorithm enums.
Since: 12
| Enum Item | Description |
|---|---|
| SHA_256 | Sha256 |
你可能感兴趣的鸿蒙文章
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