xref: /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/RSA_print.pod (revision 4724848cf0da353df257f730694b7882798e5daf)
1*4724848cSchristos=pod
2*4724848cSchristos
3*4724848cSchristos=head1 NAME
4*4724848cSchristos
5*4724848cSchristosRSA_print, RSA_print_fp,
6*4724848cSchristosDSAparams_print, DSAparams_print_fp, DSA_print, DSA_print_fp,
7*4724848cSchristosDHparams_print, DHparams_print_fp - print cryptographic parameters
8*4724848cSchristos
9*4724848cSchristos=head1 SYNOPSIS
10*4724848cSchristos
11*4724848cSchristos #include <openssl/rsa.h>
12*4724848cSchristos
13*4724848cSchristos int RSA_print(BIO *bp, RSA *x, int offset);
14*4724848cSchristos int RSA_print_fp(FILE *fp, RSA *x, int offset);
15*4724848cSchristos
16*4724848cSchristos #include <openssl/dsa.h>
17*4724848cSchristos
18*4724848cSchristos int DSAparams_print(BIO *bp, DSA *x);
19*4724848cSchristos int DSAparams_print_fp(FILE *fp, DSA *x);
20*4724848cSchristos int DSA_print(BIO *bp, DSA *x, int offset);
21*4724848cSchristos int DSA_print_fp(FILE *fp, DSA *x, int offset);
22*4724848cSchristos
23*4724848cSchristos #include <openssl/dh.h>
24*4724848cSchristos
25*4724848cSchristos int DHparams_print(BIO *bp, DH *x);
26*4724848cSchristos int DHparams_print_fp(FILE *fp, DH *x);
27*4724848cSchristos
28*4724848cSchristos=head1 DESCRIPTION
29*4724848cSchristos
30*4724848cSchristosA human-readable hexadecimal output of the components of the RSA
31*4724848cSchristoskey, DSA parameters or key or DH parameters is printed to B<bp> or B<fp>.
32*4724848cSchristos
33*4724848cSchristosThe output lines are indented by B<offset> spaces.
34*4724848cSchristos
35*4724848cSchristos=head1 RETURN VALUES
36*4724848cSchristos
37*4724848cSchristosThese functions return 1 on success, 0 on error.
38*4724848cSchristos
39*4724848cSchristos=head1 SEE ALSO
40*4724848cSchristos
41*4724848cSchristosL<BN_bn2bin(3)>
42*4724848cSchristos
43*4724848cSchristos=head1 COPYRIGHT
44*4724848cSchristos
45*4724848cSchristosCopyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
46*4724848cSchristos
47*4724848cSchristosLicensed under the OpenSSL license (the "License").  You may not use
48*4724848cSchristosthis file except in compliance with the License.  You can obtain a copy
49*4724848cSchristosin the file LICENSE in the source distribution or at
50*4724848cSchristosL<https://www.openssl.org/source/license.html>.
51*4724848cSchristos
52*4724848cSchristos=cut
53