1EVP_PKEY_METH_GET_COUNT(3)          OpenSSL         EVP_PKEY_METH_GET_COUNT(3)
2
3
4

NAME

6       EVP_PKEY_meth_get_count, EVP_PKEY_meth_get0, EVP_PKEY_meth_get0_info -
7       enumerate public key methods
8

SYNOPSIS

10        #include <openssl/evp.h>
11
12        size_t EVP_PKEY_meth_get_count(void);
13        const EVP_PKEY_METHOD *EVP_PKEY_meth_get0(size_t idx);
14        void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags,
15                                     const EVP_PKEY_METHOD *meth);
16

DESCRIPTION

18       EVP_PKEY_meth_count() returns a count of the number of public key
19       methods available: it includes standard methods and any methods added
20       by the application.
21
22       EVP_PKEY_meth_get0() returns the public key method idx. The value of
23       idx must be between zero and EVP_PKEY_meth_get_count() - 1.
24
25       EVP_PKEY_meth_get0_info() returns the public key ID (a NID) and any
26       flags associated with the public key method *meth.
27

RETURN VALUES

29       EVP_PKEY_meth_count() returns the number of available public key
30       methods.
31
32       EVP_PKEY_meth_get0() return a public key method or NULL if idx is out
33       of range.
34
35       EVP_PKEY_meth_get0_info() does not return a value.
36

SEE ALSO

38       EVP_PKEY_new(3)
39
41       Copyright 2002-2017 The OpenSSL Project Authors. All Rights Reserved.
42
43       Licensed under the OpenSSL license (the "License").  You may not use
44       this file except in compliance with the License.  You can obtain a copy
45       in the file LICENSE in the source distribution or at
46       <https://www.openssl.org/source/license.html>.
47
48
49
501.1.1c                            2019-05-28        EVP_PKEY_METH_GET_COUNT(3)
Impressum