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