]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/crypto/RSA_print.pod
Check public key is not NULL.
[thirdparty/openssl.git] / doc / crypto / RSA_print.pod
CommitLineData
2186cd8e
UM
1=pod
2
3=head1 NAME
4
5e4a75e7
RL
5RSA_print, RSA_print_fp,
6DSAparams_print, DSAparams_print_fp, DSA_print, DSA_print_fp,
7DHparams_print, DHparams_print_fp - print cryptographic parameters
2186cd8e
UM
8
9=head1 SYNOPSIS
10
11 #include <openssl/rsa.h>
12
13 int RSA_print(BIO *bp, RSA *x, int offset);
2186cd8e
UM
14 int RSA_print_fp(FILE *fp, RSA *x, int offset);
15
223fc865
UM
16 #include <openssl/dsa.h>
17
74235cc9
UM
18 int DSAparams_print(BIO *bp, DSA *x);
19 int DSAparams_print_fp(FILE *fp, DSA *x);
223fc865
UM
20 int DSA_print(BIO *bp, DSA *x, int offset);
21 int DSA_print_fp(FILE *fp, DSA *x, int offset);
22
23 #include <openssl/dh.h>
24
25 int DHparams_print(BIO *bp, DH *x);
26 int DHparams_print_fp(FILE *fp, DH *x);
27
2186cd8e
UM
28=head1 DESCRIPTION
29
223fc865 30A human-readable hexadecimal output of the components of the RSA
74235cc9 31key, DSA parameters or key or DH parameters is printed to B<bp> or B<fp>.
223fc865
UM
32
33The output lines are indented by B<offset> spaces.
2186cd8e
UM
34
35=head1 RETURN VALUES
36
223fc865 37These functions return 1 on success, 0 on error.
2186cd8e
UM
38
39=head1 SEE ALSO
40
bb075f88 41L<dh(3)|dh(3)>, L<dsa(3)|dsa(3)>, L<rsa(3)|rsa(3)>, L<BN_bn2bin(3)|BN_bn2bin(3)>
2186cd8e
UM
42
43=head1 HISTORY
44
223fc865
UM
45RSA_print(), RSA_print_fp(), DSA_print(), DSA_print_fp(), DH_print(),
46DH_print_fp() are available in all versions of SSLeay and OpenSSL.
11234103 47DSAparams_print() and DSAparams_print_fp() were added in SSLeay 0.8.
2186cd8e
UM
48
49=cut