1RSA_PRINT(3ossl) OpenSSL RSA_PRINT(3ossl)
2
3
4
6 RSA_print, RSA_print_fp, DSAparams_print, DSAparams_print_fp,
7 DSA_print, DSA_print_fp, DHparams_print, DHparams_print_fp - print
8 cryptographic parameters
9
11 #include <openssl/rsa.h>
12
13 The following functions have been deprecated since OpenSSL 3.0, and can
14 be hidden entirely by defining OPENSSL_API_COMPAT with a suitable
15 version value, see 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
23 be hidden entirely by defining OPENSSL_API_COMPAT with a suitable
24 version value, see 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
34 be hidden entirely by defining OPENSSL_API_COMPAT with a suitable
35 version value, see openssl_user_macros(7):
36
37 int DHparams_print(BIO *bp, DH *x);
38 int DHparams_print_fp(FILE *fp, const DH *x);
39
41 All of the functions described on this page are deprecated.
42 Applications should instead use EVP_PKEY_print_params(3) and
43 EVP_PKEY_print_private(3).
44
45 A human-readable hexadecimal output of the components of the RSA key,
46 DSA parameters or key or DH parameters is printed to bp or fp.
47
48 The output lines are indented by offset spaces.
49
51 DSAparams_print(), DSAparams_print_fp(), DSA_print(), and
52 DSA_print_fp() return 1 for success and 0 or a negative value for
53 failure.
54
55 DHparams_print() and DHparams_print_fp() return 1 on success, 0 on
56 error.
57
59 L<EVP_PKEY_print_params(3)>,
60 L<EVP_PKEY_print_private(3)>,
61 L<BN_bn2bin(3)>
62
64 All of these functions were deprecated in OpenSSL 3.0.
65
67 Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
68
69 Licensed under the Apache License 2.0 (the "License"). You may not use
70 this file except in compliance with the License. You can obtain a copy
71 in the file LICENSE in the source distribution or at
72 <https://www.openssl.org/source/license.html>.
73
74
75
763.1.1 2023-08-31 RSA_PRINT(3ossl)