OLD | NEW |
1 =pod | 1 =pod |
2 | 2 |
3 =head1 NAME | 3 =head1 NAME |
4 | 4 |
5 d2i_RSAPublicKey, i2d_RSAPublicKey, d2i_RSAPrivateKey, i2d_RSAPrivateKey, | 5 d2i_RSAPublicKey, i2d_RSAPublicKey, d2i_RSAPrivateKey, i2d_RSAPrivateKey, |
6 d2i_RSA_PUBKEY, i2d_RSA_PUBKEY, i2d_Netscape_RSA, | 6 d2i_RSA_PUBKEY, i2d_RSA_PUBKEY, i2d_Netscape_RSA, |
7 d2i_Netscape_RSA - RSA public and private key encoding functions. | 7 d2i_Netscape_RSA - RSA public and private key encoding functions. |
8 | 8 |
9 =head1 SYNOPSIS | 9 =head1 SYNOPSIS |
10 | 10 |
11 #include <openssl/rsa.h> | 11 #include <openssl/rsa.h> |
12 #include <openssl/x509.h> | 12 #include <openssl/x509.h> |
13 | 13 |
14 RSA * d2i_RSAPublicKey(RSA **a, unsigned char **pp, long length); | 14 RSA * d2i_RSAPublicKey(RSA **a, const unsigned char **pp, long length); |
15 | 15 |
16 int i2d_RSAPublicKey(RSA *a, unsigned char **pp); | 16 int i2d_RSAPublicKey(RSA *a, unsigned char **pp); |
17 | 17 |
18 RSA * d2i_RSA_PUBKEY(RSA **a, unsigned char **pp, long length); | 18 RSA * d2i_RSA_PUBKEY(RSA **a, const unsigned char **pp, long length); |
19 | 19 |
20 int i2d_RSA_PUBKEY(RSA *a, unsigned char **pp); | 20 int i2d_RSA_PUBKEY(RSA *a, unsigned char **pp); |
21 | 21 |
22 RSA * d2i_RSAPrivateKey(RSA **a, unsigned char **pp, long length); | 22 RSA * d2i_RSAPrivateKey(RSA **a, const unsigned char **pp, long length); |
23 | 23 |
24 int i2d_RSAPrivateKey(RSA *a, unsigned char **pp); | 24 int i2d_RSAPrivateKey(RSA *a, unsigned char **pp); |
25 | 25 |
26 int i2d_Netscape_RSA(RSA *a, unsigned char **pp, int (*cb)()); | 26 int i2d_Netscape_RSA(RSA *a, unsigned char **pp, int (*cb)()); |
27 | 27 |
28 RSA * d2i_Netscape_RSA(RSA **a, unsigned char **pp, long length, int (*cb)()); | 28 RSA * d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length, int (*cb
)()); |
29 | 29 |
30 =head1 DESCRIPTION | 30 =head1 DESCRIPTION |
31 | 31 |
32 d2i_RSAPublicKey() and i2d_RSAPublicKey() decode and encode a PKCS#1 RSAPublicKe
y | 32 d2i_RSAPublicKey() and i2d_RSAPublicKey() decode and encode a PKCS#1 RSAPublicKe
y |
33 structure. | 33 structure. |
34 | 34 |
35 d2i_RSA_PUBKEY() and i2d_RSA_PUBKEY() decode and encode an RSA public key using | 35 d2i_RSA_PUBKEY() and i2d_RSA_PUBKEY() decode and encode an RSA public key using |
36 a SubjectPublicKeyInfo (certificate public key) structure. | 36 a SubjectPublicKeyInfo (certificate public key) structure. |
37 | 37 |
38 d2i_RSAPrivateKey(), i2d_RSAPrivateKey() decode and encode a PKCS#1 RSAPrivateKe
y | 38 d2i_RSAPrivateKey(), i2d_RSAPrivateKey() decode and encode a PKCS#1 RSAPrivateKe
y |
(...skipping 19 matching lines...) Expand all Loading... |
58 | 58 |
59 =head1 SEE ALSO | 59 =head1 SEE ALSO |
60 | 60 |
61 L<d2i_X509(3)|d2i_X509(3)> | 61 L<d2i_X509(3)|d2i_X509(3)> |
62 | 62 |
63 =head1 HISTORY | 63 =head1 HISTORY |
64 | 64 |
65 TBA | 65 TBA |
66 | 66 |
67 =cut | 67 =cut |
OLD | NEW |