diff options
| author | schwarze <> | 2018-02-22 17:10:00 +0000 |
|---|---|---|
| committer | schwarze <> | 2018-02-22 17:10:00 +0000 |
| commit | 082d7cf3e34acdd1a19fbf738781d7cc95376658 (patch) | |
| tree | a9c3945a3f88801ea229d58e22462a92d981950c /src/lib/libc | |
| parent | 76b536ce936c565b1ec2fbe105c0a35176501fb8 (diff) | |
| download | openbsd-082d7cf3e34acdd1a19fbf738781d7cc95376658.tar.gz openbsd-082d7cf3e34acdd1a19fbf738781d7cc95376658.tar.bz2 openbsd-082d7cf3e34acdd1a19fbf738781d7cc95376658.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 '')
| -rw-r--r-- | src/lib/libcrypto/man/X509_get0_notBefore.3 | 30 |
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 |
| 47 | and | 57 | and |
| @@ -58,6 +68,16 @@ respectively. | |||
| 58 | and | 68 | and |
| 59 | .Fn X509_get0_notAfter | 69 | .Fn X509_get0_notAfter |
| 60 | are identical except for the const qualifier on the return type. | 70 | are identical except for the const qualifier on the return type. |
| 71 | .Pp | ||
| 72 | .Fn X509_CRL_get0_lastUpdate | ||
| 73 | and | ||
| 74 | .Fn X509_CRL_get0_nextUpdate | ||
| 75 | return pointers to the | ||
| 76 | .Fa lastUpdate | ||
| 77 | and | ||
| 78 | .Fa nextUpdate | ||
| 79 | fields of | ||
| 80 | .Fa crl . | ||
| 61 | .Sh RETURN VALUES | 81 | .Sh RETURN VALUES |
| 62 | These functions return internal pointers which must not be freed | 82 | These functions return internal pointers which must not be freed |
| 63 | by the application, or | 83 | by 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 , |
