blob: fb5bcb70c2afab6b1cf8fe52b91ccce34177e452 [file] [log] [blame]
Ulf Möller2186cd82000-01-11 22:35:21 +00001=pod
2
3=head1 NAME
4
Richard Levitte5e4a75e2002-11-29 14:21:54 +00005RSA_print, RSA_print_fp,
6DSAparams_print, DSAparams_print_fp, DSA_print, DSA_print_fp,
7DHparams_print, DHparams_print_fp - print cryptographic parameters
Ulf Möller2186cd82000-01-11 22:35:21 +00008
9=head1 SYNOPSIS
10
11 #include <openssl/rsa.h>
12
13 int RSA_print(BIO *bp, RSA *x, int offset);
Ulf Möller2186cd82000-01-11 22:35:21 +000014 int RSA_print_fp(FILE *fp, RSA *x, int offset);
15
Ulf Möller223fc862000-01-24 01:20:39 +000016 #include <openssl/dsa.h>
17
Ulf Möller74235cc2000-01-30 22:16:47 +000018 int DSAparams_print(BIO *bp, DSA *x);
19 int DSAparams_print_fp(FILE *fp, DSA *x);
Ulf Möller223fc862000-01-24 01:20:39 +000020 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
Ulf Möller2186cd82000-01-11 22:35:21 +000028=head1 DESCRIPTION
29
Ulf Möller223fc862000-01-24 01:20:39 +000030A human-readable hexadecimal output of the components of the RSA
Ulf Möller74235cc2000-01-30 22:16:47 +000031key, DSA parameters or key or DH parameters is printed to B<bp> or B<fp>.
Ulf Möller223fc862000-01-24 01:20:39 +000032
33The output lines are indented by B<offset> spaces.
Ulf Möller2186cd82000-01-11 22:35:21 +000034
35=head1 RETURN VALUES
36
Ulf Möller223fc862000-01-24 01:20:39 +000037These functions return 1 on success, 0 on error.
Ulf Möller2186cd82000-01-11 22:35:21 +000038
39=head1 SEE ALSO
40
Rich Salz9b869742015-08-17 15:21:33 -040041L<dh(3)>, L<dsa(3)>, L<rsa(3)>, L<BN_bn2bin(3)>
Ulf Möller2186cd82000-01-11 22:35:21 +000042
Rich Salze2f92612016-05-18 11:44:05 -040043=head1 COPYRIGHT
44
45Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
46
47Licensed under the OpenSSL license (the "License"). You may not use
48this file except in compliance with the License. You can obtain a copy
49in the file LICENSE in the source distribution or at
50L<https://www.openssl.org/source/license.html>.
51
52=cut