1100969Siwasaki=pod 2100969Siwasaki 3100969Siwasaki=head1 NAME 4100969Siwasaki 5100969SiwasakiRSA_print, RSA_print_fp, 6100969SiwasakiDSAparams_print, DSAparams_print_fp, DSA_print, DSA_print_fp, 7100969SiwasakiDHparams_print, DHparams_print_fp - print cryptographic parameters 8100969Siwasaki 9100969Siwasaki=head1 SYNOPSIS 10100969Siwasaki 11100969Siwasaki #include <openssl/rsa.h> 12100969Siwasaki 13100969SiwasakiThe following functions have been deprecated since OpenSSL 3.0, and can be 14100969Siwasakihidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 15100969Siwasakisee L<openssl_user_macros(7)>: 16100969Siwasaki 17100969Siwasaki int RSA_print(BIO *bp, const RSA *x, int offset); 18100969Siwasaki int RSA_print_fp(FILE *fp, const RSA *x, int offset); 19100969Siwasaki 20100969Siwasaki #include <openssl/dsa.h> 21100969Siwasaki 22100969SiwasakiThe following functions have been deprecated since OpenSSL 3.0, and can be 23100969Siwasakihidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 24100969Siwasakisee L<openssl_user_macros(7)>: 25100969Siwasaki 26100969Siwasaki int DSAparams_print(BIO *bp, const DSA *x); 27100969Siwasaki int DSAparams_print_fp(FILE *fp, const DSA *x); 28100969Siwasaki int DSA_print(BIO *bp, const DSA *x, int offset); 29100969Siwasaki int DSA_print_fp(FILE *fp, const DSA *x, int offset); 30100969Siwasaki 31100969Siwasaki #include <openssl/dh.h> 32100969Siwasaki 33100969SiwasakiThe following functions have been deprecated since OpenSSL 3.0, and can be 34100969Siwasakihidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 35100969Siwasakisee L<openssl_user_macros(7)>: 36100969Siwasaki 37167814Sjkim int DHparams_print(BIO *bp, DH *x); 38100969Siwasaki int DHparams_print_fp(FILE *fp, const DH *x); 39100969Siwasaki 40100969Siwasaki=head1 DESCRIPTION 41100969Siwasaki 42100969SiwasakiAll of the functions described on this page are deprecated. 43100969SiwasakiApplications should instead use L<EVP_PKEY_print_params(3)> and 44100969SiwasakiL<EVP_PKEY_print_private(3)>. 45100969Siwasaki 46100969SiwasakiA human-readable hexadecimal output of the components of the RSA 47100969Siwasakikey, DSA parameters or key or DH parameters is printed to B<bp> or B<fp>. 48167814Sjkim 49167814SjkimThe output lines are indented by B<offset> spaces. 50167814Sjkim 51167814Sjkim=head1 RETURN VALUES 52100969Siwasaki 53100969SiwasakiDSAparams_print(), DSAparams_print_fp(), DSA_print(), and DSA_print_fp() 54100969Siwasakireturn 1 for success and 0 or a negative value for failure. 55167814Sjkim 56167814SjkimDHparams_print() and DHparams_print_fp() return 1 on success, 0 on error. 57167814Sjkim 58167814Sjkim=head1 SEE ALSO 59100969Siwasaki 60167814Sjkim L<EVP_PKEY_print_params(3)>, 61100969Siwasaki L<EVP_PKEY_print_private(3)>, 62128979Snjl L<BN_bn2bin(3)> 63128979Snjl 64128979Snjl=head1 HISTORY 65167814Sjkim 66167814SjkimAll of these functions were deprecated in OpenSSL 3.0. 67167814Sjkim 68167814Sjkim=head1 COPYRIGHT 69167814Sjkim 70167814SjkimCopyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved. 71128979Snjl 72136366SnjlLicensed under the Apache License 2.0 (the "License"). You may not use 73136366Snjlthis file except in compliance with the License. You can obtain a copy 74197439Sjhbin the file LICENSE in the source distribution or at 75197439SjhbL<https://www.openssl.org/source/license.html>. 76197439Sjhb 77120347Speter=cut 78252280Sjkim