1 | =pod
|
---|
2 |
|
---|
3 | =head1 NAME
|
---|
4 |
|
---|
5 | RSA_print, RSA_print_fp,
|
---|
6 | DSAparams_print, DSAparams_print_fp, DSA_print, DSA_print_fp,
|
---|
7 | DHparams_print, DHparams_print_fp - print cryptographic parameters
|
---|
8 |
|
---|
9 | =head1 SYNOPSIS
|
---|
10 |
|
---|
11 | #include <openssl/rsa.h>
|
---|
12 |
|
---|
13 | The following functions have been deprecated since OpenSSL 3.0, and can be
|
---|
14 | hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
|
---|
15 | see L<openssl_user_macros(7)>:
|
---|
16 |
|
---|
17 | int RSA_print(BIO *bp, const RSA *x, int offset);
|
---|
18 | int RSA_print_fp(FILE *fp, const RSA *x, int offset);
|
---|
19 |
|
---|
20 | #include <openssl/dsa.h>
|
---|
21 |
|
---|
22 | The following functions have been deprecated since OpenSSL 3.0, and can be
|
---|
23 | hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
|
---|
24 | see L<openssl_user_macros(7)>:
|
---|
25 |
|
---|
26 | int DSAparams_print(BIO *bp, const DSA *x);
|
---|
27 | int DSAparams_print_fp(FILE *fp, const DSA *x);
|
---|
28 | int DSA_print(BIO *bp, const DSA *x, int offset);
|
---|
29 | int DSA_print_fp(FILE *fp, const DSA *x, int offset);
|
---|
30 |
|
---|
31 | #include <openssl/dh.h>
|
---|
32 |
|
---|
33 | The following functions have been deprecated since OpenSSL 3.0, and can be
|
---|
34 | hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
|
---|
35 | see L<openssl_user_macros(7)>:
|
---|
36 |
|
---|
37 | int DHparams_print(BIO *bp, DH *x);
|
---|
38 | int DHparams_print_fp(FILE *fp, const DH *x);
|
---|
39 |
|
---|
40 | =head1 DESCRIPTION
|
---|
41 |
|
---|
42 | All of the functions described on this page are deprecated.
|
---|
43 | Applications should instead use L<EVP_PKEY_print_params(3)> and
|
---|
44 | L<EVP_PKEY_print_private(3)>.
|
---|
45 |
|
---|
46 | A human-readable hexadecimal output of the components of the RSA
|
---|
47 | key, DSA parameters or key or DH parameters is printed to B<bp> or B<fp>.
|
---|
48 |
|
---|
49 | The output lines are indented by B<offset> spaces.
|
---|
50 |
|
---|
51 | =head1 RETURN VALUES
|
---|
52 |
|
---|
53 | DSAparams_print(), DSAparams_print_fp(), DSA_print(), and DSA_print_fp()
|
---|
54 | return 1 for success and 0 or a negative value for failure.
|
---|
55 |
|
---|
56 | DHparams_print() and DHparams_print_fp() return 1 on success, 0 on error.
|
---|
57 |
|
---|
58 | =head1 SEE ALSO
|
---|
59 |
|
---|
60 | L<EVP_PKEY_print_params(3)>,
|
---|
61 | L<EVP_PKEY_print_private(3)>,
|
---|
62 | L<BN_bn2bin(3)>
|
---|
63 |
|
---|
64 | =head1 HISTORY
|
---|
65 |
|
---|
66 | All of these functions were deprecated in OpenSSL 3.0.
|
---|
67 |
|
---|
68 | =head1 COPYRIGHT
|
---|
69 |
|
---|
70 | Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
|
---|
71 |
|
---|
72 | Licensed under the Apache License 2.0 (the "License"). You may not use
|
---|
73 | this file except in compliance with the License. You can obtain a copy
|
---|
74 | in the file LICENSE in the source distribution or at
|
---|
75 | L<https://www.openssl.org/source/license.html>.
|
---|
76 |
|
---|
77 | =cut
|
---|