5 EVP_PKEY_meth_get_count, EVP_PKEY_meth_get0, EVP_PKEY_meth_get0_info - enumerate public key methods
9 #include <openssl/evp.h>
11 The following functions have been deprecated since OpenSSL 3.0, and can be
12 hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
13 see L<openssl_user_macros(7)>:
15 size_t EVP_PKEY_meth_get_count(void);
16 const EVP_PKEY_METHOD *EVP_PKEY_meth_get0(size_t idx);
17 void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags,
18 const EVP_PKEY_METHOD *meth);
22 All of the functions described on this page are deprecated.
23 Applications should instead use the OSSL_PROVIDER APIs.
25 EVP_PKEY_meth_count() returns a count of the number of public key methods
26 available: it includes standard methods and any methods added by the
29 EVP_PKEY_meth_get0() returns the public key method B<idx>. The value of B<idx>
30 must be between zero and EVP_PKEY_meth_get_count() - 1.
32 EVP_PKEY_meth_get0_info() returns the public key ID (a NID) and any flags
33 associated with the public key method B<*meth>.
37 EVP_PKEY_meth_count() returns the number of available public key methods.
39 EVP_PKEY_meth_get0() return a public key method or B<NULL> if B<idx> is
42 EVP_PKEY_meth_get0_info() does not return a value.
50 All of these functions were deprecated in OpenSSL 3.0.
54 Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
56 Licensed under the Apache License 2.0 (the "License"). You may not use
57 this file except in compliance with the License. You can obtain a copy
58 in the file LICENSE in the source distribution or at
59 L<https://www.openssl.org/source/license.html>.