ECPKParameters_print.pod 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. =pod
  2. =head1 NAME
  3. ECPKParameters_print, ECPKParameters_print_fp - Functions for decoding and
  4. encoding ASN1 representations of elliptic curve entities
  5. =head1 SYNOPSIS
  6. #include <openssl/ec.h>
  7. Deprecated since OpenSSL 3.0, can be hidden entirely by defining
  8. B<OPENSSL_API_COMPAT> with a suitable version value, see
  9. L<openssl_user_macros(7)>:
  10. int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off);
  11. int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off);
  12. =head1 DESCRIPTION
  13. All of the functions described on this page are deprecated.
  14. Applications should instead use L<EVP_PKEY_print_params(3)>
  15. The ECPKParameters represent the public parameters for an
  16. B<EC_GROUP> structure, which represents a curve.
  17. The ECPKParameters_print() and ECPKParameters_print_fp() functions print
  18. a human-readable output of the public parameters of the EC_GROUP to B<bp>
  19. or B<fp>. The output lines are indented by B<off> spaces.
  20. =head1 RETURN VALUES
  21. ECPKParameters_print() and ECPKParameters_print_fp()
  22. return 1 for success and 0 if an error occurs.
  23. =head1 SEE ALSO
  24. L<crypto(7)>, L<EC_GROUP_new(3)>, L<EC_GROUP_copy(3)>,
  25. L<EC_POINT_new(3)>, L<EC_POINT_add(3)>, L<EC_KEY_new(3)>,
  26. L<EC_GFp_simple_method(3)>,
  27. =head1 HISTORY
  28. All of these functions were deprecated in OpenSSL 3.0.
  29. =head1 COPYRIGHT
  30. Copyright 2013-2021 The OpenSSL Project Authors. All Rights Reserved.
  31. Licensed under the Apache License 2.0 (the "License"). You may not use
  32. this file except in compliance with the License. You can obtain a copy
  33. in the file LICENSE in the source distribution or at
  34. L<https://www.openssl.org/source/license.html>.
  35. =cut