aboutsummaryrefslogtreecommitdiff
path: root/openssl-1.1.0h/doc/crypto/d2i_Netscape_RSA.pod
blob: ee39bd817a267ab725d45f63f9f8abc93aaf89ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
=pod

=head1 NAME

i2d_Netscape_RSA,
d2i_Netscape_RSA
- insecure RSA public and private key encoding functions

=head1 SYNOPSIS

 #include <openssl/rsa.h>

 int i2d_Netscape_RSA(RSA *a, unsigned char **pp, int (*cb)());
 RSA * d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length, int (*cb)());

=head1 DESCRIPTION

These functions decode and encode an RSA private
key in NET format.  These functions are present to provide compatibility
with very old software. This format has some severe security weaknesses
and should be avoided if possible.

These functions are similar to the B<d2i_RSAPrivateKey> functions.

=head1 SEE ALSO

L<d2i_RSAPrivateKey(3)>

=head1 COPYRIGHT

Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the OpenSSL license (the "License").  You may not use
this file except in compliance with the License.  You can obtain a copy
in the file LICENSE in the source distribution or at
L<https://www.openssl.org/source/license.html>.

=cut