cert generator: add cert usage to protocol

This commit is contained in:
Zhang Jingqiang 2024-04-23 11:33:07 +08:00
parent 4de842fbae
commit c1324707ec
16 changed files with 292 additions and 76 deletions

View file

@ -32,7 +32,7 @@ Set the hostname of the target tls server. May be a domain or an IP address.
service
-------
**optional**, **id**: 2, **type**: string
**optional**, **id**: 2, **type**: string | u8
Set the tls service type. It should be returned in response.
@ -40,6 +40,17 @@ Set the tls service type. It should be returned in response.
.. versionadded:: 1.9.0
usage
-----
**optional**, **id**: 4, **type**: string | u8
Set the tls certificate usage type. It should be returned in response.
**default**: tls_server
.. versionadded:: 1.9.1
cert
----
@ -62,7 +73,7 @@ The hostname as specified in the request.
service
-------
**optional**, **id**: 2, **type**: string
**optional**, **id**: 2, **type**: string | u8
Set the tls service type. It should be the same value as in the request.
@ -70,6 +81,17 @@ Set the tls service type. It should be the same value as in the request.
.. versionadded:: 1.9.0
usage
-----
**optional**, **id**: 6, **type**: string | u8
Set the tls certificate usage type. It should be the same value as in the request.
**default**: tls_server
.. versionadded:: 1.9.1
cert
----