5 EVP_PKEY_meth_get_count, EVP_PKEY_meth_get0, EVP_PKEY_meth_get0_info - enumeratepublic key methods
9 #include <openssl/evp.h>
11 size_t EVP_PKEY_meth_get_count(void);
12 const EVP_PKEY_METHOD *EVP_PKEY_meth_get0(size_t idx);
13 void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags,
14 const EVP_PKEY_METHOD *meth);
18 EVP_PKEY_meth_count() returns a count of the number of public key methods
19 available: it includes standard methods and any methods added by the
22 EVP_PKEY_meth_get0() returns the public key method B<idx>. The value of B<idx>
23 must be between zero and EVP_PKEY_meth_get_count() - 1.
25 EVP_PKEY_meth_get0_info() returns the public key ID (a NID) and any flags
26 associated with the public key method B<*meth>.
30 EVP_PKEY_meth_count() returns the number of available public key methods.
32 EVP_PKEY_meth_get0() return a public key method or B<NULL> if B<idx> is
35 EVP_PKEY_meth_get0_info() does not return a value.
43 Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
45 Licensed under the OpenSSL license (the "License"). You may not use
46 this file except in compliance with the License. You can obtain a copy
47 in the file LICENSE in the source distribution or at
48 L<https://www.openssl.org/source/license.html>.