diff options
author | jsing <> | 2019-11-02 13:43:14 +0000 |
---|---|---|
committer | jsing <> | 2019-11-02 13:43:14 +0000 |
commit | cdaebd960825c6daf2bda2d2428933228e7264b5 (patch) | |
tree | 246077636992f18cf989f3ebaacf9696732d1c08 /src/lib/libtls/man/tls_conn_version.3 | |
parent | c2feb893bdd530b1ece1a11ca277a9893c85ed8f (diff) | |
download | openbsd-cdaebd960825c6daf2bda2d2428933228e7264b5.tar.gz openbsd-cdaebd960825c6daf2bda2d2428933228e7264b5.tar.bz2 openbsd-cdaebd960825c6daf2bda2d2428933228e7264b5.zip |
Document tls_conn_cipher_strength().
ok schwarze@
Diffstat (limited to 'src/lib/libtls/man/tls_conn_version.3')
-rw-r--r-- | src/lib/libtls/man/tls_conn_version.3 | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/lib/libtls/man/tls_conn_version.3 b/src/lib/libtls/man/tls_conn_version.3 index b93f1c34ab..9ab6932f54 100644 --- a/src/lib/libtls/man/tls_conn_version.3 +++ b/src/lib/libtls/man/tls_conn_version.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: tls_conn_version.3,v 1.9 2018/12/14 20:18:27 schwarze Exp $ | 1 | .\" $OpenBSD: tls_conn_version.3,v 1.10 2019/11/02 13:43:14 jsing Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2015 Bob Beck <beck@openbsd.org> | 3 | .\" Copyright (c) 2015 Bob Beck <beck@openbsd.org> |
4 | .\" Copyright (c) 2016, 2018 Joel Sing <jsing@openbsd.org> | 4 | .\" Copyright (c) 2016, 2018 Joel Sing <jsing@openbsd.org> |
@@ -15,12 +15,13 @@ | |||
15 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 15 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
16 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 16 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
17 | .\" | 17 | .\" |
18 | .Dd $Mdocdate: December 14 2018 $ | 18 | .Dd $Mdocdate: November 2 2019 $ |
19 | .Dt TLS_CONN_VERSION 3 | 19 | .Dt TLS_CONN_VERSION 3 |
20 | .Os | 20 | .Os |
21 | .Sh NAME | 21 | .Sh NAME |
22 | .Nm tls_conn_version , | 22 | .Nm tls_conn_version , |
23 | .Nm tls_conn_cipher , | 23 | .Nm tls_conn_cipher , |
24 | .Nm tls_conn_cipher_strength , | ||
24 | .Nm tls_conn_alpn_selected , | 25 | .Nm tls_conn_alpn_selected , |
25 | .Nm tls_conn_servername , | 26 | .Nm tls_conn_servername , |
26 | .Nm tls_conn_session_resumed , | 27 | .Nm tls_conn_session_resumed , |
@@ -39,6 +40,8 @@ | |||
39 | .Fn tls_conn_version "struct tls *ctx" | 40 | .Fn tls_conn_version "struct tls *ctx" |
40 | .Ft const char * | 41 | .Ft const char * |
41 | .Fn tls_conn_cipher "struct tls *ctx" | 42 | .Fn tls_conn_cipher "struct tls *ctx" |
43 | .Ft int | ||
44 | .Fn tls_conn_cipher_strength "struct tls *ctx" | ||
42 | .Ft const char * | 45 | .Ft const char * |
43 | .Fn tls_conn_alpn_selected "struct tls *ctx" | 46 | .Fn tls_conn_alpn_selected "struct tls *ctx" |
44 | .Ft const char * | 47 | .Ft const char * |
@@ -82,6 +85,11 @@ returns a string corresponding to the cipher suite negotiated with the peer | |||
82 | connected to | 85 | connected to |
83 | .Ar ctx . | 86 | .Ar ctx . |
84 | .Pp | 87 | .Pp |
88 | .Fn tls_conn_cipher_strength | ||
89 | returns the strength in bits for the symmetric cipher that is being | ||
90 | used with the peer connected to | ||
91 | .Ar ctx . | ||
92 | .Pp | ||
85 | .Fn tls_conn_alpn_selected | 93 | .Fn tls_conn_alpn_selected |
86 | returns a string that specifies the ALPN protocol selected for use with the peer | 94 | returns a string that specifies the ALPN protocol selected for use with the peer |
87 | connected to | 95 | connected to |
@@ -197,6 +205,10 @@ appeared in | |||
197 | .Fn tls_conn_session_resumed | 205 | .Fn tls_conn_session_resumed |
198 | appeared in | 206 | appeared in |
199 | .Ox 6.3 . | 207 | .Ox 6.3 . |
208 | .Pp | ||
209 | .Fn tls_conn_cipher_strength | ||
210 | appeared in | ||
211 | .Ox 6.7 . | ||
200 | .Sh AUTHORS | 212 | .Sh AUTHORS |
201 | .An Bob Beck Aq Mt beck@openbsd.org | 213 | .An Bob Beck Aq Mt beck@openbsd.org |
202 | .An Joel Sing Aq Mt jsing@openbsd.org | 214 | .An Joel Sing Aq Mt jsing@openbsd.org |