From e748d61125ff6c49acc51485ceafe8c64f91c9d0 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Thu, 11 Nov 2021 13:58:59 +0000 Subject: 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=...". --- src/lib/libcrypto/man/X509_get_extension_flags.3 | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'src') 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 @@ -.\" $OpenBSD: X509_get_extension_flags.3,v 1.2 2021/10/27 11:22:57 schwarze Exp $ +.\" $OpenBSD: X509_get_extension_flags.3,v 1.3 2021/11/11 13:58:59 schwarze Exp $ .\" full merge up to: OpenSSL 361136f4 Sep 1 18:56:58 2015 +0100 .\" selective merge up to: OpenSSL 2b2e3106f Feb 16 15:04:45 2021 +0000 .\" @@ -49,7 +49,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: October 27 2021 $ +.Dd $Mdocdate: November 11 2021 $ .Dt X509_GET_EXTENSION_FLAGS 3 .Os .Sh NAME @@ -144,6 +144,20 @@ If key usage is absent, .Dv UINT32_MAX is returned. .Pp +The following aliases for these flags are defined in +.In openssl/x509.h : +.Dv X509v3_KU_DIGITAL_SIGNATURE , +.Dv X509v3_KU_NON_REPUDIATION , +.Dv X509v3_KU_KEY_ENCIPHERMENT , +.Dv X509v3_KU_DATA_ENCIPHERMENT , +.Dv X509v3_KU_KEY_AGREEMENT , +.Dv X509v3_KU_KEY_CERT_SIGN , +.Dv X509v3_KU_CRL_SIGN , +.Dv X509v3_KU_ENCIPHER_ONLY , +and +.Dv X509v3_KU_DECIPHER_ONLY . +.\" X509v3_KU_UNDEF is intentionally undocumented because nothing uses it. +.Pp .Fn X509_get_extended_key_usage returns the value of the extended key usage extension. If extended key usage is present, it returns zero or more of these -- cgit v1.2.3-55-g6feb