diff options
| author | June McEnroe <june@causal.agency> | 2026-06-01 14:45:02 -0400 |
|---|---|---|
| committer | June McEnroe <june@causal.agency> | 2026-06-01 14:45:02 -0400 |
| commit | f39835641d4413ef327857f0dc4a24d5b9599861 (patch) | |
| tree | deec6e5701019178078d700fcb187e97c6932c43 /man/tls_conn_version.3 | |
| parent | Import LibreSSL 4.0.1 (diff) | |
| download | libretls-f39835641d4413ef327857f0dc4a24d5b9599861.tar.gz libretls-f39835641d4413ef327857f0dc4a24d5b9599861.zip | |
Import LibreSSL 4.1.0
Diffstat (limited to 'man/tls_conn_version.3')
| -rw-r--r-- | man/tls_conn_version.3 | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/man/tls_conn_version.3 b/man/tls_conn_version.3 index 9ab6932..8fb3062 100644 --- a/man/tls_conn_version.3 +++ b/man/tls_conn_version.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tls_conn_version.3,v 1.10 2019/11/02 13:43:14 jsing Exp $ +.\" $OpenBSD: tls_conn_version.3,v 1.11 2024/12/10 08:42:12 tb Exp $ .\" .\" Copyright (c) 2015 Bob Beck <beck@openbsd.org> .\" Copyright (c) 2016, 2018 Joel Sing <jsing@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 2 2019 $ +.Dd $Mdocdate: December 10 2024 $ .Dt TLS_CONN_VERSION 3 .Os .Sh NAME @@ -30,6 +30,7 @@ .Nm tls_peer_cert_chain_pem , .Nm tls_peer_cert_issuer , .Nm tls_peer_cert_subject , +.Nm tls_peer_cert_common_name , .Nm tls_peer_cert_hash , .Nm tls_peer_cert_notbefore , .Nm tls_peer_cert_notafter @@ -65,6 +66,8 @@ .Ft const char * .Fn tls_peer_cert_subject "struct tls *ctx" .Ft const char * +.Fn tls_peer_cert_common_name "struct tls *ctx" +.Ft const char * .Fn tls_peer_cert_hash "struct tls *ctx" .Ft time_t .Fn tls_peer_cert_notbefore "struct tls *ctx" @@ -133,6 +136,11 @@ corresponding to the subject of the peer certificate from returns a string corresponding to the issuer of the peer certificate from .Ar ctx . +.Fn tls_peer_cert_common_name +returns a string +corresponding to the common name of the peer certificate from +.Ar ctx +or the empty string if no common name is present. .Pp .Fn tls_peer_cert_hash returns a string @@ -209,6 +217,9 @@ appeared in .Fn tls_conn_cipher_strength appeared in .Ox 6.7 . +.Fn tls_peer_cert_common_name +appeared in +.Ox 7.7 . .Sh AUTHORS .An Bob Beck Aq Mt beck@openbsd.org .An Joel Sing Aq Mt jsing@openbsd.org |