diff options
author | Jack Lloyd <[email protected]> | 2018-03-28 03:25:59 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-28 05:13:32 -0400 |
commit | 5b7cb0d19d7ffe97712c39aaf2f861a2504442aa (patch) | |
tree | 6bbddc81b11d2115b61a1ce1dce97c64bd8efcc0 /doc/manual/tls.rst | |
parent | d829bc5dd0002373ad07a09a07082e859f047901 (diff) |
Update TLS docs re new APIs for 2.5 [ci skip]
Diffstat (limited to 'doc/manual/tls.rst')
-rw-r--r-- | doc/manual/tls.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/manual/tls.rst b/doc/manual/tls.rst index a41245448..551d1e6c7 100644 --- a/doc/manual/tls.rst +++ b/doc/manual/tls.rst @@ -137,6 +137,22 @@ information about the connection. This callback is optional, and can be used to inspect all handshake messages while the session establishment occurs. + .. cpp:function:: void tls_modify_extensions(Extensions& extn, Connection_Side which_side) + + This callback is optional, and can be used to modify extensions before they + are sent to the peer. For example this enables adding a custom extension, + or replacing or removing an extension set by the library. + + .. cpp:function:: void tls_examine_extensions(const Extensions& extn, Connection_Side which_side) + + This callback is optional, and can be used to examine extensions sent by + the peer. + + .. std::string tls_decode_group_param(Group_Params group_param) + + This callback is optional. It can be used to support custom group ids for + ECDH and DH key exchange. + .. cpp:function:: void tls_log_error(const char* msg) Optional logging for an error message. (Not currently used) |