1=pod 2 3=head1 NAME 4 5EVP_PKEY_meth_get_count, EVP_PKEY_meth_get0, EVP_PKEY_meth_get0_info - enumerate public key methods 6 7=head1 SYNOPSIS 8 9 #include <openssl/evp.h> 10 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); 15 16=head1 DESCRIPTION 17 18EVP_PKEY_meth_count() returns a count of the number of public key methods 19available: it includes standard methods and any methods added by the 20application. 21 22EVP_PKEY_meth_get0() returns the public key method B<idx>. The value of B<idx> 23must be between zero and EVP_PKEY_meth_get_count() - 1. 24 25EVP_PKEY_meth_get0_info() returns the public key ID (a NID) and any flags 26associated with the public key method B<*meth>. 27 28=head1 RETURN VALUES 29 30EVP_PKEY_meth_count() returns the number of available public key methods. 31 32EVP_PKEY_meth_get0() return a public key method or B<NULL> if B<idx> is 33out of range. 34 35EVP_PKEY_meth_get0_info() does not return a value. 36 37=head1 SEE ALSO 38 39L<EVP_PKEY_new(3)> 40 41=head1 COPYRIGHT 42 43Copyright 2002-2017 The OpenSSL Project Authors. All Rights Reserved. 44 45Licensed under the OpenSSL license (the "License"). You may not use 46this file except in compliance with the License. You can obtain a copy 47in the file LICENSE in the source distribution or at 48L<https://www.openssl.org/source/license.html>. 49 50=cut 51