113d40330Schristos=pod 213d40330Schristos 313d40330Schristos=head1 NAME 413d40330Schristos 513d40330SchristosRSA_print, RSA_print_fp, 613d40330SchristosDSAparams_print, DSAparams_print_fp, DSA_print, DSA_print_fp, 713d40330SchristosDHparams_print, DHparams_print_fp - print cryptographic parameters 813d40330Schristos 913d40330Schristos=head1 SYNOPSIS 1013d40330Schristos 1113d40330Schristos #include <openssl/rsa.h> 1213d40330Schristos 13*b0d17251SchristosThe following functions have been deprecated since OpenSSL 3.0, and can be 14*b0d17251Schristoshidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 15*b0d17251Schristossee L<openssl_user_macros(7)>: 16*b0d17251Schristos 17*b0d17251Schristos int RSA_print(BIO *bp, const RSA *x, int offset); 18*b0d17251Schristos int RSA_print_fp(FILE *fp, const RSA *x, int offset); 1913d40330Schristos 2013d40330Schristos #include <openssl/dsa.h> 2113d40330Schristos 22*b0d17251SchristosThe following functions have been deprecated since OpenSSL 3.0, and can be 23*b0d17251Schristoshidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 24*b0d17251Schristossee L<openssl_user_macros(7)>: 25*b0d17251Schristos 26*b0d17251Schristos int DSAparams_print(BIO *bp, const DSA *x); 27*b0d17251Schristos int DSAparams_print_fp(FILE *fp, const DSA *x); 28*b0d17251Schristos int DSA_print(BIO *bp, const DSA *x, int offset); 29*b0d17251Schristos int DSA_print_fp(FILE *fp, const DSA *x, int offset); 3013d40330Schristos 3113d40330Schristos #include <openssl/dh.h> 3213d40330Schristos 33*b0d17251SchristosThe following functions have been deprecated since OpenSSL 3.0, and can be 34*b0d17251Schristoshidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 35*b0d17251Schristossee L<openssl_user_macros(7)>: 36*b0d17251Schristos 3713d40330Schristos int DHparams_print(BIO *bp, DH *x); 38*b0d17251Schristos int DHparams_print_fp(FILE *fp, const DH *x); 3913d40330Schristos 4013d40330Schristos=head1 DESCRIPTION 4113d40330Schristos 42*b0d17251SchristosAll of the functions described on this page are deprecated. 43*b0d17251SchristosApplications should instead use L<EVP_PKEY_print_params(3)> and 44*b0d17251SchristosL<EVP_PKEY_print_private(3)>. 45*b0d17251Schristos 4613d40330SchristosA human-readable hexadecimal output of the components of the RSA 4713d40330Schristoskey, DSA parameters or key or DH parameters is printed to B<bp> or B<fp>. 4813d40330Schristos 4913d40330SchristosThe output lines are indented by B<offset> spaces. 5013d40330Schristos 5113d40330Schristos=head1 RETURN VALUES 5213d40330Schristos 53*b0d17251SchristosDSAparams_print(), DSAparams_print_fp(), DSA_print(), and DSA_print_fp() 54*b0d17251Schristosreturn 1 for success and 0 or a negative value for failure. 55*b0d17251Schristos 56*b0d17251SchristosDHparams_print() and DHparams_print_fp() return 1 on success, 0 on error. 5713d40330Schristos 5813d40330Schristos=head1 SEE ALSO 5913d40330Schristos 60*b0d17251Schristos L<EVP_PKEY_print_params(3)>, 61*b0d17251Schristos L<EVP_PKEY_print_private(3)>, 6213d40330Schristos L<BN_bn2bin(3)> 6313d40330Schristos 64*b0d17251Schristos=head1 HISTORY 65*b0d17251Schristos 66*b0d17251SchristosAll of these functions were deprecated in OpenSSL 3.0. 67*b0d17251Schristos 6813d40330Schristos=head1 COPYRIGHT 6913d40330Schristos 70*b0d17251SchristosCopyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved. 7113d40330Schristos 72*b0d17251SchristosLicensed under the Apache License 2.0 (the "License"). You may not use 7313d40330Schristosthis file except in compliance with the License. You can obtain a copy 7413d40330Schristosin the file LICENSE in the source distribution or at 7513d40330SchristosL<https://www.openssl.org/source/license.html>. 7613d40330Schristos 7713d40330Schristos=cut 78