1EVP_PKEY_METH_GET_COUNT(3ossl)      OpenSSL     EVP_PKEY_METH_GET_COUNT(3ossl)
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       The following functions have been deprecated since OpenSSL 3.0, and can
13       be hidden entirely by defining OPENSSL_API_COMPAT with a suitable
14       version value, see openssl_user_macros(7):
15
16        size_t EVP_PKEY_meth_get_count(void);
17        const EVP_PKEY_METHOD *EVP_PKEY_meth_get0(size_t idx);
18        void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags,
19                                     const EVP_PKEY_METHOD *meth);
20

DESCRIPTION

22       All of the functions described on this page are deprecated.
23       Applications should instead use the OSSL_PROVIDER APIs.
24
25       EVP_PKEY_meth_count() returns a count of the number of public key
26       methods available: it includes standard methods and any methods added
27       by the application.
28
29       EVP_PKEY_meth_get0() returns the public key method idx. The value of
30       idx must be between zero and EVP_PKEY_meth_get_count() - 1.
31
32       EVP_PKEY_meth_get0_info() returns the public key ID (a NID) and any
33       flags associated with the public key method *meth.
34

RETURN VALUES

36       EVP_PKEY_meth_count() returns the number of available public key
37       methods.
38
39       EVP_PKEY_meth_get0() return a public key method or NULL if idx is out
40       of range.
41
42       EVP_PKEY_meth_get0_info() does not return a value.
43

SEE ALSO

45       EVP_PKEY_new(3)
46

HISTORY

48       All of these functions were deprecated in OpenSSL 3.0.
49
51       Copyright 2002-2021 The OpenSSL Project Authors. All Rights Reserved.
52
53       Licensed under the Apache License 2.0 (the "License").  You may not use
54       this file except in compliance with the License.  You can obtain a copy
55       in the file LICENSE in the source distribution or at
56       <https://www.openssl.org/source/license.html>.
57
58
59
603.0.9                             2023-07-27    EVP_PKEY_METH_GET_COUNT(3ossl)
Impressum