2
0

EVP_PKEY_meth_get_count.pod 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. =pod
  2. =head1 NAME
  3. EVP_PKEY_meth_get_count, EVP_PKEY_meth_get0, EVP_PKEY_meth_get0_info - enumerate public key methods
  4. =head1 SYNOPSIS
  5. #include <openssl/evp.h>
  6. size_t EVP_PKEY_meth_get_count(void);
  7. const EVP_PKEY_METHOD *EVP_PKEY_meth_get0(size_t idx);
  8. void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags,
  9. const EVP_PKEY_METHOD *meth);
  10. =head1 DESCRIPTION
  11. EVP_PKEY_meth_count() returns a count of the number of public key methods
  12. available: it includes standard methods and any methods added by the
  13. application.
  14. EVP_PKEY_meth_get0() returns the public key method B<idx>. The value of B<idx>
  15. must be between zero and EVP_PKEY_meth_get_count() - 1.
  16. EVP_PKEY_meth_get0_info() returns the public key ID (a NID) and any flags
  17. associated with the public key method B<*meth>.
  18. =head1 RETURN VALUES
  19. EVP_PKEY_meth_count() returns the number of available public key methods.
  20. EVP_PKEY_meth_get0() return a public key method or B<NULL> if B<idx> is
  21. out of range.
  22. EVP_PKEY_meth_get0_info() does not return a value.
  23. =head1 SEE ALSO
  24. L<EVP_PKEY_new(3)>
  25. =head1 COPYRIGHT
  26. Copyright 2002-2017 The OpenSSL Project Authors. All Rights Reserved.
  27. Licensed under the OpenSSL license (the "License"). You may not use
  28. this file except in compliance with the License. You can obtain a copy
  29. in the file LICENSE in the source distribution or at
  30. L<https://www.openssl.org/source/license.html>.
  31. =cut