Blame doc/man3/EVP_PKEY_meth_get_count.pod

Packit c4476c
=pod
Packit c4476c
Packit c4476c
=head1 NAME
Packit c4476c
Packit c4476c
EVP_PKEY_meth_get_count, EVP_PKEY_meth_get0, EVP_PKEY_meth_get0_info - enumerate public key methods
Packit c4476c
Packit c4476c
=head1 SYNOPSIS
Packit c4476c
Packit c4476c
 #include <openssl/evp.h>
Packit c4476c
Packit c4476c
 size_t EVP_PKEY_meth_get_count(void);
Packit c4476c
 const EVP_PKEY_METHOD *EVP_PKEY_meth_get0(size_t idx);
Packit c4476c
 void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags,
Packit c4476c
                              const EVP_PKEY_METHOD *meth);
Packit c4476c
Packit c4476c
=head1 DESCRIPTION
Packit c4476c
Packit c4476c
EVP_PKEY_meth_count() returns a count of the number of public key methods
Packit c4476c
available: it includes standard methods and any methods added by the
Packit c4476c
application.
Packit c4476c
Packit c4476c
EVP_PKEY_meth_get0() returns the public key method B<idx>. The value of B<idx>
Packit c4476c
must be between zero and EVP_PKEY_meth_get_count() - 1.
Packit c4476c
Packit c4476c
EVP_PKEY_meth_get0_info() returns the public key ID (a NID) and any flags
Packit c4476c
associated with the public key method B<*meth>.
Packit c4476c
Packit c4476c
=head1 RETURN VALUES
Packit c4476c
Packit c4476c
EVP_PKEY_meth_count() returns the number of available public key methods.
Packit c4476c
Packit c4476c
EVP_PKEY_meth_get0() return a public key method or B<NULL> if B<idx> is
Packit c4476c
out of range.
Packit c4476c
Packit c4476c
EVP_PKEY_meth_get0_info() does not return a value.
Packit c4476c
Packit c4476c
=head1 SEE ALSO
Packit c4476c
Packit c4476c
L<EVP_PKEY_new(3)>
Packit c4476c
Packit c4476c
=head1 COPYRIGHT
Packit c4476c
Packit c4476c
Copyright 2002-2017 The OpenSSL Project Authors. All Rights Reserved.
Packit c4476c
Packit c4476c
Licensed under the OpenSSL license (the "License").  You may not use
Packit c4476c
this file except in compliance with the License.  You can obtain a copy
Packit c4476c
in the file LICENSE in the source distribution or at
Packit c4476c
L<https://www.openssl.org/source/license.html>.
Packit c4476c
Packit c4476c
=cut