summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2019-08-27 10:00:41 +0000
committerschwarze <>2019-08-27 10:00:41 +0000
commit3f8dd6adb0e6d88b2e33335c209c72e06f20de1f (patch)
treeb7df7db8f54da0223c0445a7a8a966da7084c261 /src
parent564b88567c7654beee6596e7700369640bb6c4e8 (diff)
downloadopenbsd-3f8dd6adb0e6d88b2e33335c209c72e06f20de1f.tar.gz
openbsd-3f8dd6adb0e6d88b2e33335c209c72e06f20de1f.tar.bz2
openbsd-3f8dd6adb0e6d88b2e33335c209c72e06f20de1f.zip
document OCSP_cert_status_str(3)
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/OCSP_resp_find_status.322
1 files changed, 19 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/OCSP_resp_find_status.3 b/src/lib/libcrypto/man/OCSP_resp_find_status.3
index a32019c4d6..bcfefb5754 100644
--- a/src/lib/libcrypto/man/OCSP_resp_find_status.3
+++ b/src/lib/libcrypto/man/OCSP_resp_find_status.3
@@ -1,11 +1,11 @@
1.\" $OpenBSD: OCSP_resp_find_status.3,v 1.9 2019/03/15 11:15:33 schwarze Exp $ 1.\" $OpenBSD: OCSP_resp_find_status.3,v 1.10 2019/08/27 10:00:41 schwarze Exp $
2.\" full merge up to: OpenSSL c952780c Jun 21 07:03:34 2016 -0400 2.\" full merge up to: OpenSSL c952780c Jun 21 07:03:34 2016 -0400
3.\" selective merge up to: OpenSSL 1212818e Sep 11 13:22:14 2018 +0100 3.\" selective merge up to: OpenSSL 1212818e Sep 11 13:22:14 2018 +0100
4.\" 4.\"
5.\" This file is a derived work. 5.\" This file is a derived work.
6.\" The changes are covered by the following Copyright and license: 6.\" The changes are covered by the following Copyright and license:
7.\" 7.\"
8.\" Copyright (c) 2016, 2018 Ingo Schwarze <schwarze@openbsd.org> 8.\" Copyright (c) 2016, 2018, 2019 Ingo Schwarze <schwarze@openbsd.org>
9.\" 9.\"
10.\" Permission to use, copy, modify, and distribute this software for any 10.\" Permission to use, copy, modify, and distribute this software for any
11.\" purpose with or without fee is hereby granted, provided that the above 11.\" purpose with or without fee is hereby granted, provided that the above
@@ -67,7 +67,7 @@
67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
68.\" OF THE POSSIBILITY OF SUCH DAMAGE. 68.\" OF THE POSSIBILITY OF SUCH DAMAGE.
69.\" 69.\"
70.Dd $Mdocdate: March 15 2019 $ 70.Dd $Mdocdate: August 27 2019 $
71.Dt OCSP_RESP_FIND_STATUS 3 71.Dt OCSP_RESP_FIND_STATUS 3
72.Os 72.Os
73.Sh NAME 73.Sh NAME
@@ -78,6 +78,7 @@
78.Nm OCSP_REVOKEDINFO_new , 78.Nm OCSP_REVOKEDINFO_new ,
79.Nm OCSP_REVOKEDINFO_free , 79.Nm OCSP_REVOKEDINFO_free ,
80.Nm OCSP_resp_find_status , 80.Nm OCSP_resp_find_status ,
81.Nm OCSP_cert_status_str ,
81.Nm OCSP_resp_count , 82.Nm OCSP_resp_count ,
82.Nm OCSP_resp_get0 , 83.Nm OCSP_resp_get0 ,
83.Nm OCSP_resp_find , 84.Nm OCSP_resp_find ,
@@ -110,6 +111,10 @@
110.Fa "ASN1_GENERALIZEDTIME **thisupd" 111.Fa "ASN1_GENERALIZEDTIME **thisupd"
111.Fa "ASN1_GENERALIZEDTIME **nextupd" 112.Fa "ASN1_GENERALIZEDTIME **nextupd"
112.Fc 113.Fc
114.Ft const char *
115.Fo OCSP_cert_status_str
116.Fa "long status"
117.Fc
113.Ft int 118.Ft int
114.Fo OCSP_resp_count 119.Fo OCSP_resp_count
115.Fa "OCSP_BASICRESP *bs" 120.Fa "OCSP_BASICRESP *bs"
@@ -233,6 +238,13 @@ field will be set to the revocation reason which will be one of
233or 238or
234.Dv OCSP_REVOKED_STATUS_REMOVEFROMCRL . 239.Dv OCSP_REVOKED_STATUS_REMOVEFROMCRL .
235.Pp 240.Pp
241.Fn OCSP_cert_status_str
242converts one of the
243.Fa status
244codes retrieved by
245.Fn OCSP_resp_find_status
246to a string consisting of one word.
247.Pp
236.Fn OCSP_resp_count 248.Fn OCSP_resp_count
237returns the number of 249returns the number of
238.Vt OCSP_SINGLERESP 250.Vt OCSP_SINGLERESP
@@ -410,6 +422,9 @@ is found in
410.Fa bs 422.Fa bs
411or 0 otherwise. 423or 0 otherwise.
412.Pp 424.Pp
425.Fn OCSP_cert_status_str
426returns a pointer to a static string.
427.Pp
413.Fn OCSP_resp_count 428.Fn OCSP_resp_count
414returns the total number of 429returns the total number of
415.Vt OCSP_SINGLERESP 430.Vt OCSP_SINGLERESP
@@ -464,6 +479,7 @@ Status Protocol, section 4.2: Response Syntax
464.Fn OCSP_REVOKEDINFO_new , 479.Fn OCSP_REVOKEDINFO_new ,
465.Fn OCSP_REVOKEDINFO_free , 480.Fn OCSP_REVOKEDINFO_free ,
466.Fn OCSP_resp_find_status , 481.Fn OCSP_resp_find_status ,
482.Fn OCSP_cert_status_str ,
467.Fn OCSP_resp_count , 483.Fn OCSP_resp_count ,
468.Fn OCSP_resp_get0 , 484.Fn OCSP_resp_get0 ,
469.Fn OCSP_resp_find , 485.Fn OCSP_resp_find ,