xref: /netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/ECPKParameters_print.pod (revision b0d1725196a7921d003d2c66a14f186abda4176b)
113d40330Schristos=pod
213d40330Schristos
313d40330Schristos=head1 NAME
413d40330Schristos
513d40330SchristosECPKParameters_print, ECPKParameters_print_fp - Functions for decoding and
613d40330Schristosencoding ASN1 representations of elliptic curve entities
713d40330Schristos
813d40330Schristos=head1 SYNOPSIS
913d40330Schristos
1013d40330Schristos #include <openssl/ec.h>
1113d40330Schristos
12*b0d17251SchristosThe following functions have been deprecated since OpenSSL 3.0, and can be
13*b0d17251Schristoshidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
14*b0d17251Schristossee L<openssl_user_macros(7)>:
15*b0d17251Schristos
1613d40330Schristos int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off);
1713d40330Schristos int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off);
1813d40330Schristos
1913d40330Schristos=head1 DESCRIPTION
2013d40330Schristos
21*b0d17251SchristosAll of the functions described on this page are deprecated.
22*b0d17251SchristosApplications should instead use L<EVP_PKEY_print_params(3)>
23*b0d17251Schristos
2413d40330SchristosThe ECPKParameters represent the public parameters for an
2513d40330SchristosB<EC_GROUP> structure, which represents a curve.
2613d40330Schristos
2713d40330SchristosThe ECPKParameters_print() and ECPKParameters_print_fp() functions print
2813d40330Schristosa human-readable output of the public parameters of the EC_GROUP to B<bp>
2913d40330Schristosor B<fp>. The output lines are indented by B<off> spaces.
3013d40330Schristos
3113d40330Schristos=head1 RETURN VALUES
3213d40330Schristos
3313d40330SchristosECPKParameters_print() and ECPKParameters_print_fp()
3413d40330Schristosreturn 1 for success and 0 if an error occurs.
3513d40330Schristos
3613d40330Schristos=head1 SEE ALSO
3713d40330Schristos
3813d40330SchristosL<crypto(7)>, L<EC_GROUP_new(3)>, L<EC_GROUP_copy(3)>,
3913d40330SchristosL<EC_POINT_new(3)>, L<EC_POINT_add(3)>, L<EC_KEY_new(3)>,
4013d40330SchristosL<EC_GFp_simple_method(3)>,
4113d40330Schristos
42*b0d17251Schristos=head1 HISTORY
43*b0d17251Schristos
44*b0d17251SchristosAll of these functions were deprecated in OpenSSL 3.0.
45*b0d17251Schristos
4613d40330Schristos=head1 COPYRIGHT
4713d40330Schristos
48*b0d17251SchristosCopyright 2013-2021 The OpenSSL Project Authors. All Rights Reserved.
4913d40330Schristos
50*b0d17251SchristosLicensed under the Apache License 2.0 (the "License").  You may not use
5113d40330Schristosthis file except in compliance with the License.  You can obtain a copy
5213d40330Schristosin the file LICENSE in the source distribution or at
5313d40330SchristosL<https://www.openssl.org/source/license.html>.
5413d40330Schristos
5513d40330Schristos=cut
56