summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/man/EVP_PKEY_asn1_get_count.317
1 files changed, 13 insertions, 4 deletions
diff --git a/lib/libcrypto/man/EVP_PKEY_asn1_get_count.3 b/lib/libcrypto/man/EVP_PKEY_asn1_get_count.3
index 5e3901e6013..576a2935cba 100644
--- a/lib/libcrypto/man/EVP_PKEY_asn1_get_count.3
+++ b/lib/libcrypto/man/EVP_PKEY_asn1_get_count.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: EVP_PKEY_asn1_get_count.3,v 1.2 2018/03/23 04:34:23 schwarze Exp $
+.\" $OpenBSD: EVP_PKEY_asn1_get_count.3,v 1.3 2018/05/13 16:42:21 schwarze Exp $
.\" full merge up to: OpenSSL 751148e2 Oct 27 00:11:11 2017 +0200
.\"
.\" This file was written by Richard Levitte <levitte@openssl.org>.
@@ -48,12 +48,13 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 23 2018 $
+.Dd $Mdocdate: May 13 2018 $
.Dt EVP_PKEY_ASN1_GET_COUNT 3
.Os
.Sh NAME
.Nm EVP_PKEY_asn1_get_count ,
.Nm EVP_PKEY_asn1_get0 ,
+.Nm EVP_PKEY_get0_asn1 ,
.Nm EVP_PKEY_asn1_find ,
.Nm EVP_PKEY_asn1_find_str ,
.Nm EVP_PKEY_asn1_get0_info
@@ -67,6 +68,10 @@
.Fa "int idx"
.Fc
.Ft const EVP_PKEY_ASN1_METHOD *
+.Fo EVP_PKEY_get0_asn1
+.Fa "const EVP_PKEY *pkey"
+.Fc
+.Ft const EVP_PKEY_ASN1_METHOD *
.Fo EVP_PKEY_asn1_find
.Fa "ENGINE **pe"
.Fa "int type"
@@ -152,11 +157,15 @@ if
.Fa idx
is out of range.
.Pp
+.Fn EVP_PKEY_get0_asn1
+returns the public key method used by
+.Fa pkey .
+.Pp
.Fn EVP_PKEY_asn1_get0_info
returns 1 on success or 0 on failure.
.Sh SEE ALSO
-.Xr EVP_PKEY_asn1_add0 3 ,
-.Xr EVP_PKEY_asn1_new 3
+.Xr EVP_PKEY_asn1_new 3 ,
+.Xr EVP_PKEY_base_id 3
.Sh HISTORY
These functions first appeared in OpenSSL 1.0.0
and have been available since