diff options
author | schwarze <> | 2021-11-11 13:58:59 +0000 |
---|---|---|
committer | schwarze <> | 2021-11-11 13:58:59 +0000 |
commit | e748d61125ff6c49acc51485ceafe8c64f91c9d0 (patch) | |
tree | 9e732a2cdbce89a8584fb348e08d51ffe60b00d8 /src/lib | |
parent | 2a3702ff5bba0009a0de058c60a27ae3669aaaf8 (diff) | |
download | openbsd-e748d61125ff6c49acc51485ceafe8c64f91c9d0.tar.gz openbsd-e748d61125ff6c49acc51485ceafe8c64f91c9d0.tar.bz2 openbsd-e748d61125ff6c49acc51485ceafe8c64f91c9d0.zip |
Mention the X509v3_KU_* aliases for the KU_* constants
because some third party application code uses them.
List the full names (even though they are long)
such that they can be found with "man -k Dv=...".
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/X509_get_extension_flags.3 | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/X509_get_extension_flags.3 b/src/lib/libcrypto/man/X509_get_extension_flags.3 index 725c01600f..1f63c6a910 100644 --- a/src/lib/libcrypto/man/X509_get_extension_flags.3 +++ b/src/lib/libcrypto/man/X509_get_extension_flags.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: X509_get_extension_flags.3,v 1.2 2021/10/27 11:22:57 schwarze Exp $ | 1 | .\" $OpenBSD: X509_get_extension_flags.3,v 1.3 2021/11/11 13:58:59 schwarze Exp $ |
2 | .\" full merge up to: OpenSSL 361136f4 Sep 1 18:56:58 2015 +0100 | 2 | .\" full merge up to: OpenSSL 361136f4 Sep 1 18:56:58 2015 +0100 |
3 | .\" selective merge up to: OpenSSL 2b2e3106f Feb 16 15:04:45 2021 +0000 | 3 | .\" selective merge up to: OpenSSL 2b2e3106f Feb 16 15:04:45 2021 +0000 |
4 | .\" | 4 | .\" |
@@ -49,7 +49,7 @@ | |||
49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
51 | .\" | 51 | .\" |
52 | .Dd $Mdocdate: October 27 2021 $ | 52 | .Dd $Mdocdate: November 11 2021 $ |
53 | .Dt X509_GET_EXTENSION_FLAGS 3 | 53 | .Dt X509_GET_EXTENSION_FLAGS 3 |
54 | .Os | 54 | .Os |
55 | .Sh NAME | 55 | .Sh NAME |
@@ -144,6 +144,20 @@ If key usage is absent, | |||
144 | .Dv UINT32_MAX | 144 | .Dv UINT32_MAX |
145 | is returned. | 145 | is returned. |
146 | .Pp | 146 | .Pp |
147 | The following aliases for these flags are defined in | ||
148 | .In openssl/x509.h : | ||
149 | .Dv X509v3_KU_DIGITAL_SIGNATURE , | ||
150 | .Dv X509v3_KU_NON_REPUDIATION , | ||
151 | .Dv X509v3_KU_KEY_ENCIPHERMENT , | ||
152 | .Dv X509v3_KU_DATA_ENCIPHERMENT , | ||
153 | .Dv X509v3_KU_KEY_AGREEMENT , | ||
154 | .Dv X509v3_KU_KEY_CERT_SIGN , | ||
155 | .Dv X509v3_KU_CRL_SIGN , | ||
156 | .Dv X509v3_KU_ENCIPHER_ONLY , | ||
157 | and | ||
158 | .Dv X509v3_KU_DECIPHER_ONLY . | ||
159 | .\" X509v3_KU_UNDEF is intentionally undocumented because nothing uses it. | ||
160 | .Pp | ||
147 | .Fn X509_get_extended_key_usage | 161 | .Fn X509_get_extended_key_usage |
148 | returns the value of the extended key usage extension. | 162 | returns the value of the extended key usage extension. |
149 | If extended key usage is present, it returns zero or more of these | 163 | If extended key usage is present, it returns zero or more of these |