summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorschwarze <>2018-02-22 17:10:00 +0000
committerschwarze <>2018-02-22 17:10:00 +0000
commit638272e9dee92abeb527a8cf07528a81219edc22 (patch)
treea9c3945a3f88801ea229d58e22462a92d981950c /src/lib
parent1fc0ba2260ec4438c3af3412f4a310a85d4bf02d (diff)
downloadopenbsd-638272e9dee92abeb527a8cf07528a81219edc22.tar.gz
openbsd-638272e9dee92abeb527a8cf07528a81219edc22.tar.bz2
openbsd-638272e9dee92abeb527a8cf07528a81219edc22.zip
In x509.h rev. 1.30 2018/02/20 17:04:58, jsing@ provided
X509_CRL_get0_lastUpdate(3) and X509_CRL_get0_nextUpdate(3). Document them.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/X509_get0_notBefore.330
1 files changed, 26 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/X509_get0_notBefore.3 b/src/lib/libcrypto/man/X509_get0_notBefore.3
index a3f3aa267d..850dd8bb9e 100644
--- a/src/lib/libcrypto/man/X509_get0_notBefore.3
+++ b/src/lib/libcrypto/man/X509_get0_notBefore.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509_get0_notBefore.3,v 1.1 2018/02/15 10:01:33 schwarze Exp $ 1.\" $OpenBSD: X509_get0_notBefore.3,v 1.2 2018/02/22 17:10:00 schwarze Exp $
2.\" content checked up to: OpenSSL 27b138e9 May 19 00:16:38 2017 +0000 2.\" content checked up to: OpenSSL 27b138e9 May 19 00:16:38 2017 +0000
3.\" 3.\"
4.\" Copyright (c) 2018 Ingo Schwarze <schwarze@openbsd.org> 4.\" Copyright (c) 2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,15 +15,17 @@
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: February 15 2018 $ 18.Dd $Mdocdate: February 22 2018 $
19.Dt X509_GET0_NOTBEFORE 3 19.Dt X509_GET0_NOTBEFORE 3
20.Os 20.Os
21.Sh NAME 21.Sh NAME
22.Nm X509_get0_notBefore , 22.Nm X509_get0_notBefore ,
23.Nm X509_getm_notBefore , 23.Nm X509_getm_notBefore ,
24.Nm X509_get0_notAfter , 24.Nm X509_get0_notAfter ,
25.Nm X509_getm_notAfter 25.Nm X509_getm_notAfter ,
26.Nd get certificate validity dates 26.Nm X509_CRL_get0_lastUpdate ,
27.Nm X509_CRL_get0_nextUpdate
28.Nd get certificate and CRL validity dates
27.Sh SYNOPSIS 29.Sh SYNOPSIS
28.In openssl/x509.h 30.In openssl/x509.h
29.Ft const ASN1_TIME * 31.Ft const ASN1_TIME *
@@ -42,6 +44,14 @@
42.Fo X509_getm_notAfter 44.Fo X509_getm_notAfter
43.Fa "const X509 *x" 45.Fa "const X509 *x"
44.Fc 46.Fc
47.Ft ASN1_TIME *
48.Fo X509_CRL_get0_lastUpdate
49.Fa "const X509_CRL *crl"
50.Fc
51.Ft ASN1_TIME *
52.Fo X509_CRL_get0_nextUpdate
53.Fa "const X509_CRL *crl"
54.Fc
45.Sh DESCRIPTION 55.Sh DESCRIPTION
46.Fn X509_getm_notBefore 56.Fn X509_getm_notBefore
47and 57and
@@ -58,6 +68,16 @@ respectively.
58and 68and
59.Fn X509_get0_notAfter 69.Fn X509_get0_notAfter
60are identical except for the const qualifier on the return type. 70are identical except for the const qualifier on the return type.
71.Pp
72.Fn X509_CRL_get0_lastUpdate
73and
74.Fn X509_CRL_get0_nextUpdate
75return pointers to the
76.Fa lastUpdate
77and
78.Fa nextUpdate
79fields of
80.Fa crl .
61.Sh RETURN VALUES 81.Sh RETURN VALUES
62These functions return internal pointers which must not be freed 82These functions return internal pointers which must not be freed
63by the application, or 83by the application, or
@@ -67,6 +87,8 @@ if the requested fields are not available.
67.Xr ASN1_TIME_set 3 , 87.Xr ASN1_TIME_set 3 ,
68.Xr ASN1_TIME_set_tm 3 , 88.Xr ASN1_TIME_set_tm 3 ,
69.Xr X509_cmp_time 3 , 89.Xr X509_cmp_time 3 ,
90.Xr X509_CRL_get0_by_serial 3 ,
91.Xr X509_CRL_new 3 ,
70.Xr X509_get_subject_name 3 , 92.Xr X509_get_subject_name 3 ,
71.Xr X509_new 3 , 93.Xr X509_new 3 ,
72.Xr X509_sign 3 , 94.Xr X509_sign 3 ,