xref: /onnv-gate/usr/src/common/openssl/doc/crypto/RSA_print.pod (revision 2175:b0b2f052a486)
1*2175Sjp161948=pod
2*2175Sjp161948
3*2175Sjp161948=head1 NAME
4*2175Sjp161948
5*2175Sjp161948RSA_print, RSA_print_fp,
6*2175Sjp161948DSAparams_print, DSAparams_print_fp, DSA_print, DSA_print_fp,
7*2175Sjp161948DHparams_print, DHparams_print_fp - print cryptographic parameters
8*2175Sjp161948
9*2175Sjp161948=head1 SYNOPSIS
10*2175Sjp161948
11*2175Sjp161948 #include <openssl/rsa.h>
12*2175Sjp161948
13*2175Sjp161948 int RSA_print(BIO *bp, RSA *x, int offset);
14*2175Sjp161948 int RSA_print_fp(FILE *fp, RSA *x, int offset);
15*2175Sjp161948
16*2175Sjp161948 #include <openssl/dsa.h>
17*2175Sjp161948
18*2175Sjp161948 int DSAparams_print(BIO *bp, DSA *x);
19*2175Sjp161948 int DSAparams_print_fp(FILE *fp, DSA *x);
20*2175Sjp161948 int DSA_print(BIO *bp, DSA *x, int offset);
21*2175Sjp161948 int DSA_print_fp(FILE *fp, DSA *x, int offset);
22*2175Sjp161948
23*2175Sjp161948 #include <openssl/dh.h>
24*2175Sjp161948
25*2175Sjp161948 int DHparams_print(BIO *bp, DH *x);
26*2175Sjp161948 int DHparams_print_fp(FILE *fp, DH *x);
27*2175Sjp161948
28*2175Sjp161948=head1 DESCRIPTION
29*2175Sjp161948
30*2175Sjp161948A human-readable hexadecimal output of the components of the RSA
31*2175Sjp161948key, DSA parameters or key or DH parameters is printed to B<bp> or B<fp>.
32*2175Sjp161948
33*2175Sjp161948The output lines are indented by B<offset> spaces.
34*2175Sjp161948
35*2175Sjp161948=head1 RETURN VALUES
36*2175Sjp161948
37*2175Sjp161948These functions return 1 on success, 0 on error.
38*2175Sjp161948
39*2175Sjp161948=head1 SEE ALSO
40*2175Sjp161948
41*2175Sjp161948L<dh(3)|dh(3)>, L<dsa(3)|dsa(3)>, L<rsa(3)|rsa(3)>, L<BN_bn2bin(3)|BN_bn2bin(3)>
42*2175Sjp161948
43*2175Sjp161948=head1 HISTORY
44*2175Sjp161948
45*2175Sjp161948RSA_print(), RSA_print_fp(), DSA_print(), DSA_print_fp(), DH_print(),
46*2175Sjp161948DH_print_fp() are available in all versions of SSLeay and OpenSSL.
47*2175Sjp161948DSAparams_print() and DSAparams_print_fp() were added in SSLeay 0.8.
48*2175Sjp161948
49*2175Sjp161948=cut
50