diff options
author | schwarze <> | 2016-12-26 16:52:25 +0000 |
---|---|---|
committer | schwarze <> | 2016-12-26 16:52:25 +0000 |
commit | 73e5c259bd76479d2f7b076bb6749495559686b8 (patch) | |
tree | 8236c40176d4ec5aaae32287b4fa232518c7af3e /src | |
parent | 57e1f989d9fcf62c64f0a5143c2213a4c5d321a2 (diff) | |
download | openbsd-73e5c259bd76479d2f7b076bb6749495559686b8.tar.gz openbsd-73e5c259bd76479d2f7b076bb6749495559686b8.tar.bz2 openbsd-73e5c259bd76479d2f7b076bb6749495559686b8.zip |
add eight missing functions found in OpenSSL doc/man3/d2i_X509.pod
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/man/d2i_RSAPublicKey.3 | 80 |
1 files changed, 78 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/d2i_RSAPublicKey.3 b/src/lib/libcrypto/man/d2i_RSAPublicKey.3 index 7a65bed7a4..ea7736e2dc 100644 --- a/src/lib/libcrypto/man/d2i_RSAPublicKey.3 +++ b/src/lib/libcrypto/man/d2i_RSAPublicKey.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: d2i_RSAPublicKey.3,v 1.7 2016/12/26 16:36:34 schwarze Exp $ | 1 | .\" $OpenBSD: d2i_RSAPublicKey.3,v 1.8 2016/12/26 16:52:25 schwarze Exp $ |
2 | .\" OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400 | 2 | .\" OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Ulf Moeller <ulf@openssl.org> and | 4 | .\" This file was written by Ulf Moeller <ulf@openssl.org> and |
@@ -60,6 +60,14 @@ | |||
60 | .Nm i2d_RSAPrivateKey , | 60 | .Nm i2d_RSAPrivateKey , |
61 | .Nm d2i_Netscape_RSA , | 61 | .Nm d2i_Netscape_RSA , |
62 | .Nm i2d_Netscape_RSA , | 62 | .Nm i2d_Netscape_RSA , |
63 | .Nm d2i_RSAPublicKey_bio , | ||
64 | .Nm d2i_RSAPublicKey_fp , | ||
65 | .Nm i2d_RSAPublicKey_bio , | ||
66 | .Nm i2d_RSAPublicKey_fp , | ||
67 | .Nm d2i_RSAPrivateKey_bio , | ||
68 | .Nm d2i_RSAPrivateKey_fp , | ||
69 | .Nm i2d_RSAPrivateKey_bio , | ||
70 | .Nm i2d_RSAPrivateKey_fp , | ||
63 | .Nm d2i_RSA_PUBKEY , | 71 | .Nm d2i_RSA_PUBKEY , |
64 | .Nm i2d_RSA_PUBKEY , | 72 | .Nm i2d_RSA_PUBKEY , |
65 | .Nm d2i_RSA_PUBKEY_bio , | 73 | .Nm d2i_RSA_PUBKEY_bio , |
@@ -106,6 +114,46 @@ | |||
106 | .Fc | 114 | .Fc |
107 | .In openssl/x509.h | 115 | .In openssl/x509.h |
108 | .Ft RSA * | 116 | .Ft RSA * |
117 | .Fo d2i_RSAPublicKey_bio | ||
118 | .Fa "BIO *in_bio" | ||
119 | .Fa "RSA **val_out" | ||
120 | .Fc | ||
121 | .Ft RSA * | ||
122 | .Fo d2i_RSAPublicKey_fp | ||
123 | .Fa "FILE *in_fp" | ||
124 | .Fa "RSA **val_out" | ||
125 | .Fc | ||
126 | .Ft int | ||
127 | .Fo i2d_RSAPublicKey_bio | ||
128 | .Fa "BIO *out_bio" | ||
129 | .Fa "RSA *val_in" | ||
130 | .Fc | ||
131 | .Ft int | ||
132 | .Fo i2d_RSAPublicKey_fp | ||
133 | .Fa "FILE *out_fp" | ||
134 | .Fa "RSA *val_in" | ||
135 | .Fc | ||
136 | .Ft RSA * | ||
137 | .Fo d2i_RSAPrivateKey_bio | ||
138 | .Fa "BIO *in_bio" | ||
139 | .Fa "RSA **val_out" | ||
140 | .Fc | ||
141 | .Ft RSA * | ||
142 | .Fo d2i_RSAPrivateKey_fp | ||
143 | .Fa "FILE *in_fp" | ||
144 | .Fa "RSA **val_out" | ||
145 | .Fc | ||
146 | .Ft int | ||
147 | .Fo i2d_RSAPrivateKey_bio | ||
148 | .Fa "BIO *out_bio" | ||
149 | .Fa "RSA *val_in" | ||
150 | .Fc | ||
151 | .Ft int | ||
152 | .Fo i2d_RSAPrivateKey_fp | ||
153 | .Fa "FILE *out_fp" | ||
154 | .Fa "RSA *val_in" | ||
155 | .Fc | ||
156 | .Ft RSA * | ||
109 | .Fo d2i_RSA_PUBKEY | 157 | .Fo d2i_RSA_PUBKEY |
110 | .Fa "RSA **val_out" | 158 | .Fa "RSA **val_out" |
111 | .Fa "const unsigned char **der_in" | 159 | .Fa "const unsigned char **der_in" |
@@ -147,6 +195,16 @@ and | |||
147 | decode and encode a PKCS#1 | 195 | decode and encode a PKCS#1 |
148 | .Vt RSAPublicKey | 196 | .Vt RSAPublicKey |
149 | structure. | 197 | structure. |
198 | .Fn d2i_RSAPublicKey_bio , | ||
199 | .Fn d2i_RSAPublicKey_fp , | ||
200 | .Fn i2d_RSAPublicKey_bio , | ||
201 | and | ||
202 | .Fn i2d_RSAPublicKey_fp | ||
203 | are similar except that they decode or encode using a | ||
204 | .Vt BIO | ||
205 | or | ||
206 | .Vt FILE | ||
207 | pointer. | ||
150 | .Pp | 208 | .Pp |
151 | .Fn d2i_RSAPrivateKey | 209 | .Fn d2i_RSAPrivateKey |
152 | and | 210 | and |
@@ -160,6 +218,16 @@ structure passed to the private key encoding functions should have | |||
160 | all the PKCS#1 private key components present. | 218 | all the PKCS#1 private key components present. |
161 | The data encoded by the private key functions is unencrypted and | 219 | The data encoded by the private key functions is unencrypted and |
162 | therefore offers no private key security. | 220 | therefore offers no private key security. |
221 | .Fn d2i_RSAPrivateKey_bio , | ||
222 | .Fn d2i_RSAPrivateKey_fp , | ||
223 | .Fn i2d_RSAPrivateKey_bio , | ||
224 | and | ||
225 | .Fn i2d_RSAPrivateKey_fp | ||
226 | are similar except that they decode or encode using a | ||
227 | .Vt BIO | ||
228 | or | ||
229 | .Vt FILE | ||
230 | pointer. | ||
163 | .Pp | 231 | .Pp |
164 | .Fn d2i_Netscape_RSA | 232 | .Fn d2i_Netscape_RSA |
165 | and | 233 | and |
@@ -188,7 +256,11 @@ or | |||
188 | pointer. | 256 | pointer. |
189 | .Sh RETURN VALUES | 257 | .Sh RETURN VALUES |
190 | .Fn d2i_RSAPublicKey , | 258 | .Fn d2i_RSAPublicKey , |
259 | .Fn d2i_RSAPublicKey_bio , | ||
260 | .Fn d2i_RSAPublicKey_fp , | ||
191 | .Fn d2i_RSAPrivateKey , | 261 | .Fn d2i_RSAPrivateKey , |
262 | .Fn d2i_RSAPrivateKey_bio , | ||
263 | .Fn d2i_RSAPrivateKey_fp , | ||
192 | .Fn d2i_Netscape_RSA , | 264 | .Fn d2i_Netscape_RSA , |
193 | .Fn d2i_RSA_PUBKEY , | 265 | .Fn d2i_RSA_PUBKEY , |
194 | .Fn d2i_RSA_PUBKEY_bio , | 266 | .Fn d2i_RSA_PUBKEY_bio , |
@@ -208,7 +280,11 @@ and | |||
208 | return the number of bytes successfully encoded or a negative value | 280 | return the number of bytes successfully encoded or a negative value |
209 | if an error occurs. | 281 | if an error occurs. |
210 | .Pp | 282 | .Pp |
211 | .Fn i2d_RSA_PUBKEY_bio | 283 | .Fn i2d_RSAPublicKey_bio , |
284 | .Fn i2d_RSAPublicKey_fp , | ||
285 | .Fn i2d_RSAPrivateKey_bio , | ||
286 | .Fn i2d_RSAPrivateKey_fp , | ||
287 | .Fn i2d_RSA_PUBKEY_bio , | ||
212 | and | 288 | and |
213 | .Fn i2d_RSA_PUBKEY_fp | 289 | .Fn i2d_RSA_PUBKEY_fp |
214 | return 1 for success or 0 if an error occurs. | 290 | return 1 for success or 0 if an error occurs. |