RSA_print.pod 2.3 KB

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