mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
39 lines
1004 B
Plaintext
39 lines
1004 B
Plaintext
|
=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
|