1e71b7053SJung-uk Kim=pod 2e71b7053SJung-uk Kim 3e71b7053SJung-uk Kim=head1 NAME 4e71b7053SJung-uk Kim 5e71b7053SJung-uk KimRSA_print, RSA_print_fp, 6e71b7053SJung-uk KimDSAparams_print, DSAparams_print_fp, DSA_print, DSA_print_fp, 7e71b7053SJung-uk KimDHparams_print, DHparams_print_fp - print cryptographic parameters 8e71b7053SJung-uk Kim 9e71b7053SJung-uk Kim=head1 SYNOPSIS 10e71b7053SJung-uk Kim 11e71b7053SJung-uk Kim #include <openssl/rsa.h> 12e71b7053SJung-uk Kim 13*b077aed3SPierre ProncheryThe following functions have been deprecated since OpenSSL 3.0, and can be 14*b077aed3SPierre Proncheryhidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 15*b077aed3SPierre Proncherysee L<openssl_user_macros(7)>: 16*b077aed3SPierre Pronchery 17*b077aed3SPierre Pronchery int RSA_print(BIO *bp, const RSA *x, int offset); 18*b077aed3SPierre Pronchery int RSA_print_fp(FILE *fp, const RSA *x, int offset); 19e71b7053SJung-uk Kim 20e71b7053SJung-uk Kim #include <openssl/dsa.h> 21e71b7053SJung-uk Kim 22*b077aed3SPierre ProncheryThe following functions have been deprecated since OpenSSL 3.0, and can be 23*b077aed3SPierre Proncheryhidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 24*b077aed3SPierre Proncherysee L<openssl_user_macros(7)>: 25*b077aed3SPierre Pronchery 26*b077aed3SPierre Pronchery int DSAparams_print(BIO *bp, const DSA *x); 27*b077aed3SPierre Pronchery int DSAparams_print_fp(FILE *fp, const DSA *x); 28*b077aed3SPierre Pronchery int DSA_print(BIO *bp, const DSA *x, int offset); 29*b077aed3SPierre Pronchery int DSA_print_fp(FILE *fp, const DSA *x, int offset); 30e71b7053SJung-uk Kim 31e71b7053SJung-uk Kim #include <openssl/dh.h> 32e71b7053SJung-uk Kim 33*b077aed3SPierre ProncheryThe following functions have been deprecated since OpenSSL 3.0, and can be 34*b077aed3SPierre Proncheryhidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 35*b077aed3SPierre Proncherysee L<openssl_user_macros(7)>: 36*b077aed3SPierre Pronchery 37e71b7053SJung-uk Kim int DHparams_print(BIO *bp, DH *x); 38*b077aed3SPierre Pronchery int DHparams_print_fp(FILE *fp, const DH *x); 39e71b7053SJung-uk Kim 40e71b7053SJung-uk Kim=head1 DESCRIPTION 41e71b7053SJung-uk Kim 42*b077aed3SPierre ProncheryAll of the functions described on this page are deprecated. 43*b077aed3SPierre ProncheryApplications should instead use L<EVP_PKEY_print_params(3)> and 44*b077aed3SPierre ProncheryL<EVP_PKEY_print_private(3)>. 45*b077aed3SPierre Pronchery 46e71b7053SJung-uk KimA human-readable hexadecimal output of the components of the RSA 47e71b7053SJung-uk Kimkey, DSA parameters or key or DH parameters is printed to B<bp> or B<fp>. 48e71b7053SJung-uk Kim 49e71b7053SJung-uk KimThe output lines are indented by B<offset> spaces. 50e71b7053SJung-uk Kim 51e71b7053SJung-uk Kim=head1 RETURN VALUES 52e71b7053SJung-uk Kim 53*b077aed3SPierre ProncheryDSAparams_print(), DSAparams_print_fp(), DSA_print(), and DSA_print_fp() 54*b077aed3SPierre Proncheryreturn 1 for success and 0 or a negative value for failure. 55*b077aed3SPierre Pronchery 56*b077aed3SPierre ProncheryDHparams_print() and DHparams_print_fp() return 1 on success, 0 on error. 57e71b7053SJung-uk Kim 58e71b7053SJung-uk Kim=head1 SEE ALSO 59e71b7053SJung-uk Kim 60*b077aed3SPierre Pronchery L<EVP_PKEY_print_params(3)>, 61*b077aed3SPierre Pronchery L<EVP_PKEY_print_private(3)>, 62e71b7053SJung-uk Kim L<BN_bn2bin(3)> 63e71b7053SJung-uk Kim 64*b077aed3SPierre Pronchery=head1 HISTORY 65*b077aed3SPierre Pronchery 66*b077aed3SPierre ProncheryAll of these functions were deprecated in OpenSSL 3.0. 67*b077aed3SPierre Pronchery 68e71b7053SJung-uk Kim=head1 COPYRIGHT 69e71b7053SJung-uk Kim 70*b077aed3SPierre ProncheryCopyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved. 71e71b7053SJung-uk Kim 72*b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License"). You may not use 73e71b7053SJung-uk Kimthis file except in compliance with the License. You can obtain a copy 74e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at 75e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>. 76e71b7053SJung-uk Kim 77e71b7053SJung-uk Kim=cut 78