RSA_print.pod 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. Deprecated since OpenSSL 3.0, can be hidden entirely by defining
  9. B<OPENSSL_API_COMPAT> with a suitable version value, see
  10. L<openssl_user_macros(7)>:
  11. int RSA_print(BIO *bp, RSA *x, int offset);
  12. int RSA_print_fp(FILE *fp, RSA *x, int offset);
  13. #include <openssl/dsa.h>
  14. Deprecated since OpenSSL 3.0, can be hidden entirely by defining
  15. B<OPENSSL_API_COMPAT> with a suitable version value, see
  16. L<openssl_user_macros(7)>:
  17. int DSAparams_print(BIO *bp, DSA *x);
  18. int DSAparams_print_fp(FILE *fp, DSA *x);
  19. int DSA_print(BIO *bp, DSA *x, int offset);
  20. int DSA_print_fp(FILE *fp, DSA *x, int offset);
  21. #include <openssl/dh.h>
  22. Deprecated since OpenSSL 3.0, can be hidden entirely by defining
  23. B<OPENSSL_API_COMPAT> with a suitable version value, see
  24. L<openssl_user_macros(7)>:
  25. int DHparams_print(BIO *bp, DH *x);
  26. int DHparams_print_fp(FILE *fp, 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. These functions return 1 on success, 0 on error.
  36. =head1 SEE ALSO
  37. L<EVP_PKEY_print_params(3)>,
  38. L<EVP_PKEY_print_private(3)>,
  39. L<BN_bn2bin(3)>
  40. =head1 HISTORY
  41. All of these functions were deprecated in OpenSSL 3.0.
  42. =head1 COPYRIGHT
  43. Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.
  44. Licensed under the Apache License 2.0 (the "License"). You may not use
  45. this file except in compliance with the License. You can obtain a copy
  46. in the file LICENSE in the source distribution or at
  47. L<https://www.openssl.org/source/license.html>.
  48. =cut