mirror of
https://github.com/bytedance/g3.git
synced 2026-05-05 15:31:21 +00:00
cert generator: add cert usage to protocol
This commit is contained in:
parent
4de842fbae
commit
c1324707ec
16 changed files with 292 additions and 76 deletions
|
|
@ -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
|
||||
----
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue