2
0

RSA_print.pod 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. int RSA_print(BIO *bp, RSA *x, int offset);
  9. int RSA_print_fp(FILE *fp, RSA *x, int offset);
  10. #include <openssl/dsa.h>
  11. int DSAparams_print(BIO *bp, DSA *x);
  12. int DSAparams_print_fp(FILE *fp, DSA *x);
  13. int DSA_print(BIO *bp, DSA *x, int offset);
  14. int DSA_print_fp(FILE *fp, DSA *x, int offset);
  15. #include <openssl/dh.h>
  16. int DHparams_print(BIO *bp, DH *x);
  17. int DHparams_print_fp(FILE *fp, DH *x);
  18. =head1 DESCRIPTION
  19. A human-readable hexadecimal output of the components of the RSA
  20. key, DSA parameters or key or DH parameters is printed to B<bp> or B<fp>.
  21. The output lines are indented by B<offset> spaces.
  22. =head1 RETURN VALUES
  23. These functions return 1 on success, 0 on error.
  24. =head1 SEE ALSO
  25. L<dh(3)|dh(3)>, L<dsa(3)|dsa(3)>, L<rsa(3)|rsa(3)>, L<BN_bn2bin(3)|BN_bn2bin(3)>
  26. =head1 HISTORY
  27. RSA_print(), RSA_print_fp(), DSA_print(), DSA_print_fp(), DH_print(),
  28. DH_print_fp() are available in all versions of SSLeay and OpenSSL.
  29. DSAparams_print() and DSAparams_print_fp() were added in SSLeay 0.8.
  30. =cut