1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-08-13 12:42:25 +03:00
Files
libhttp/docs/api/client_cert.md
2016-11-15 20:04:22 +01:00

22 lines
714 B
Markdown

# LibHTTP API Reference
### `struct client_cert;`
### Fields
| Field | Type | Description |
| :--- | :--- | :--- |
|**`subject`**|`const char *`| The subject of the certificate |
|**`issuer`**|`const char *`| The issuer of the certificate |
|**`serial`**|`const char *`| The serial number of the certificate |
|**`finger`**|`const char *`| The fingerprint of the certificate |
### Description
The structure `client_cert` is used as a sub-structure in the [`mg_request_info`](mg_request_info.md) structure to store information of an optional client supplied certificate.
### See Also
* [`struct mg_request_info;`](mg_request_info.md)
* [`mg_get_request_info();`](mg_get_request_info.md)