]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/RSA_print.pod
Deprecate the low level DSA functions.
[thirdparty/openssl.git] / doc / man3 / 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
f41ac0ee
P
13Deprecated since OpenSSL 3.0, can be hidden entirely by defining
14B<OPENSSL_API_COMPAT> with a suitable version value, see
15L<openssl_user_macros(7)>:
16
2186cd8e 17 int RSA_print(BIO *bp, RSA *x, int offset);
2186cd8e
UM
18 int RSA_print_fp(FILE *fp, RSA *x, int offset);
19
223fc865
UM
20 #include <openssl/dsa.h>
21
f41ac0ee
P
22Deprecated since OpenSSL 3.0, can be hidden entirely by defining
23B<OPENSSL_API_COMPAT> with a suitable version value, see
24L<openssl_user_macros(7)>:
25
74235cc9
UM
26 int DSAparams_print(BIO *bp, DSA *x);
27 int DSAparams_print_fp(FILE *fp, DSA *x);
223fc865
UM
28 int DSA_print(BIO *bp, DSA *x, int offset);
29 int DSA_print_fp(FILE *fp, DSA *x, int offset);
30
31 #include <openssl/dh.h>
32
f41ac0ee
P
33Deprecated since OpenSSL 3.0, can be hidden entirely by defining
34B<OPENSSL_API_COMPAT> with a suitable version value, see
35L<openssl_user_macros(7)>:
36
223fc865
UM
37 int DHparams_print(BIO *bp, DH *x);
38 int DHparams_print_fp(FILE *fp, DH *x);
39
2186cd8e
UM
40=head1 DESCRIPTION
41
f41ac0ee
P
42All of the functions described on this page are deprecated.
43Applications should instead use L<EVP_PKEY_print_params(3)> and
44L<EVP_PKEY_print_private(3)>.
45
223fc865 46A human-readable hexadecimal output of the components of the RSA
74235cc9 47key, DSA parameters or key or DH parameters is printed to B<bp> or B<fp>.
223fc865
UM
48
49The output lines are indented by B<offset> spaces.
2186cd8e
UM
50
51=head1 RETURN VALUES
52
223fc865 53These functions return 1 on success, 0 on error.
2186cd8e
UM
54
55=head1 SEE ALSO
56
f41ac0ee
P
57 L<EVP_PKEY_print_params(3)>,
58 L<EVP_PKEY_print_private(3)>,
59 L<BN_bn2bin(3)>
60
61=head1 HISTORY
62
63All of these functions were deprecated in OpenSSL 3.0.
2186cd8e 64
e2f92610
RS
65=head1 COPYRIGHT
66
67Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
68
4746f25a 69Licensed under the Apache License 2.0 (the "License"). You may not use
e2f92610
RS
70this file except in compliance with the License. You can obtain a copy
71in the file LICENSE in the source distribution or at
72L<https://www.openssl.org/source/license.html>.
73
74=cut