summaryrefslogtreecommitdiff
path: root/lib/libcrypto/man/X509_get_pubkey.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/man/X509_get_pubkey.3')
-rw-r--r--lib/libcrypto/man/X509_get_pubkey.317
1 files changed, 14 insertions, 3 deletions
diff --git a/lib/libcrypto/man/X509_get_pubkey.3 b/lib/libcrypto/man/X509_get_pubkey.3
index 3d041cad928..f14a2a24b64 100644
--- a/lib/libcrypto/man/X509_get_pubkey.3
+++ b/lib/libcrypto/man/X509_get_pubkey.3
@@ -1,6 +1,6 @@
-.\" $OpenBSD: X509_get_pubkey.3,v 1.10 2021/10/26 18:01:00 tb Exp $
+.\" $OpenBSD: X509_get_pubkey.3,v 1.11 2021/10/26 18:04:24 tb Exp $
.\" selective merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
-.\" X509_REQ_get0_pubkey and X509_REQ_get_X509_PUBKEY not yet in LibreSSL
+.\" X509_REQ_get_X509_PUBKEY not yet in LibreSSL
.\"
.\" This file is a derived work.
.\" The changes are covered by the following Copyright and license:
@@ -76,6 +76,7 @@
.Nm X509_get_X509_PUBKEY ,
.Nm X509_get0_pubkey_bitstr ,
.Nm X509_REQ_get_pubkey ,
+.Nm X509_REQ_get0_pubkey ,
.Nm X509_REQ_set_pubkey ,
.Nm X509_extract_key ,
.Nm X509_REQ_extract_key
@@ -107,6 +108,10 @@
.Fo X509_REQ_get_pubkey
.Fa "X509_REQ *req"
.Fc
+.Ft EVP_PKEY *
+.Fo X509_REQ_get0_pubkey
+.Fa "X509_REQ *req"
+.Fc
.Ft int
.Fo X509_REQ_set_pubkey
.Fa "X509_REQ *x"
@@ -155,7 +160,8 @@ The key
.Fa pkey
should be freed up after use.
.Pp
-.Fn X509_REQ_get_pubkey
+.Fn X509_REQ_get_pubkey ,
+.Fn X509_REQ_get0_pubkey ,
and
.Fn X509_REQ_set_pubkey
are similar but operate on certificate request
@@ -181,6 +187,7 @@ respectively, implemented as macros.
.Fn X509_get_X509_PUBKEY ,
.Fn X509_get0_pubkey_bitstr ,
.Fn X509_REQ_get_pubkey ,
+.Fn X509_REQ_get0_pubkey ,
.Fn X509_extract_key ,
and
.Fn X509_REQ_extract_key
@@ -197,6 +204,7 @@ In some cases of failure of
.Fn X509_get0_pubkey ,
.Fn X509_set_pubkey ,
.Fn X509_REQ_get_pubkey ,
+.Fn X509_REQ_get0_pubkey ,
and
.Fn X509_REQ_set_pubkey ,
the reason can be determined with
@@ -284,3 +292,6 @@ first appeared in OpenSSL 0.9.7 and has been available since
.Fn X509_get0_pubkey
first appeared in OpenSSL 1.1.0 and has been available since
.Ox 6.3 .
+.Fn X509_REQ_get0_pubkey
+first appeared in OpenSSL 1.1.0 and has been available since
+.Ox 7.1 .