blob: e916db9e051172b1df2edf35a3e0bc842f4f0741 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
|
Extension [ <persistent> extension #5 openssl version <no_version> ] {
- Constants [46] {
Constant [ string OPENSSL_VERSION_TEXT ] { OpenSSL 1.0.0j-fips 10 May 2012 }
Constant [ integer OPENSSL_VERSION_NUMBER ] { 268435459 }
Constant [ integer X509_PURPOSE_SSL_CLIENT ] { 1 }
Constant [ integer X509_PURPOSE_SSL_SERVER ] { 2 }
Constant [ integer X509_PURPOSE_NS_SSL_SERVER ] { 3 }
Constant [ integer X509_PURPOSE_SMIME_SIGN ] { 4 }
Constant [ integer X509_PURPOSE_SMIME_ENCRYPT ] { 5 }
Constant [ integer X509_PURPOSE_CRL_SIGN ] { 6 }
Constant [ integer X509_PURPOSE_ANY ] { 7 }
Constant [ integer OPENSSL_ALGO_SHA1 ] { 1 }
Constant [ integer OPENSSL_ALGO_MD5 ] { 2 }
Constant [ integer OPENSSL_ALGO_MD4 ] { 3 }
Constant [ integer OPENSSL_ALGO_DSS1 ] { 5 }
Constant [ integer OPENSSL_ALGO_SHA224 ] { 6 }
Constant [ integer OPENSSL_ALGO_SHA256 ] { 7 }
Constant [ integer OPENSSL_ALGO_SHA384 ] { 8 }
Constant [ integer OPENSSL_ALGO_SHA512 ] { 9 }
Constant [ integer OPENSSL_ALGO_RMD160 ] { 10 }
Constant [ integer PKCS7_DETACHED ] { 64 }
Constant [ integer PKCS7_TEXT ] { 1 }
Constant [ integer PKCS7_NOINTERN ] { 16 }
Constant [ integer PKCS7_NOVERIFY ] { 32 }
Constant [ integer PKCS7_NOCHAIN ] { 8 }
Constant [ integer PKCS7_NOCERTS ] { 2 }
Constant [ integer PKCS7_NOATTR ] { 256 }
Constant [ integer PKCS7_BINARY ] { 128 }
Constant [ integer PKCS7_NOSIGS ] { 4 }
Constant [ integer OPENSSL_PKCS1_PADDING ] { 1 }
Constant [ integer OPENSSL_SSLV23_PADDING ] { 2 }
Constant [ integer OPENSSL_NO_PADDING ] { 3 }
Constant [ integer OPENSSL_PKCS1_OAEP_PADDING ] { 4 }
Constant [ integer OPENSSL_CIPHER_RC2_40 ] { 0 }
Constant [ integer OPENSSL_CIPHER_RC2_128 ] { 1 }
Constant [ integer OPENSSL_CIPHER_RC2_64 ] { 2 }
Constant [ integer OPENSSL_CIPHER_DES ] { 3 }
Constant [ integer OPENSSL_CIPHER_3DES ] { 4 }
Constant [ integer OPENSSL_CIPHER_AES_128_CBC ] { 5 }
Constant [ integer OPENSSL_CIPHER_AES_192_CBC ] { 6 }
Constant [ integer OPENSSL_CIPHER_AES_256_CBC ] { 7 }
Constant [ integer OPENSSL_KEYTYPE_RSA ] { 0 }
Constant [ integer OPENSSL_KEYTYPE_DSA ] { 1 }
Constant [ integer OPENSSL_KEYTYPE_DH ] { 2 }
Constant [ integer OPENSSL_KEYTYPE_EC ] { 3 }
Constant [ integer OPENSSL_RAW_DATA ] { 1 }
Constant [ integer OPENSSL_ZERO_PADDING ] { 2 }
Constant [ integer OPENSSL_TLSEXT_SERVER_NAME ] { 1 }
}
- Functions {
Function [ <internal:openssl> function openssl_pkey_free ] {
- Parameters [1] {
Parameter #0 [ <required> $key ]
}
}
Function [ <internal:openssl> function openssl_pkey_new ] {
- Parameters [1] {
Parameter #0 [ <optional> $configargs ]
}
}
Function [ <internal:openssl> function openssl_pkey_export ] {
- Parameters [4] {
Parameter #0 [ <required> $key ]
Parameter #1 [ <required> &$out ]
Parameter #2 [ <optional> $passphrase ]
Parameter #3 [ <optional> $config_args ]
}
}
Function [ <internal:openssl> function openssl_pkey_export_to_file ] {
- Parameters [4] {
Parameter #0 [ <required> $key ]
Parameter #1 [ <required> $outfilename ]
Parameter #2 [ <optional> $passphrase ]
Parameter #3 [ <optional> $config_args ]
}
}
Function [ <internal:openssl> function openssl_pkey_get_private ] {
- Parameters [2] {
Parameter #0 [ <required> $key ]
Parameter #1 [ <optional> $passphrase ]
}
}
Function [ <internal:openssl> function openssl_pkey_get_public ] {
- Parameters [1] {
Parameter #0 [ <required> $cert ]
}
}
Function [ <internal:openssl> function openssl_pkey_get_details ] {
- Parameters [1] {
Parameter #0 [ <required> $key ]
}
}
Function [ <internal:openssl> function openssl_free_key ] {
- Parameters [1] {
Parameter #0 [ <required> $key ]
}
}
Function [ <internal:openssl> function openssl_get_privatekey ] {
- Parameters [2] {
Parameter #0 [ <required> $key ]
Parameter #1 [ <optional> $passphrase ]
}
}
Function [ <internal:openssl> function openssl_get_publickey ] {
- Parameters [1] {
Parameter #0 [ <required> $cert ]
}
}
Function [ <internal:openssl> function openssl_x509_read ] {
- Parameters [1] {
Parameter #0 [ <required> $cert ]
}
}
Function [ <internal:openssl> function openssl_x509_free ] {
- Parameters [1] {
Parameter #0 [ <required> $x509 ]
}
}
Function [ <internal:openssl> function openssl_x509_parse ] {
- Parameters [2] {
Parameter #0 [ <required> $x509 ]
Parameter #1 [ <required> $shortname ]
}
}
Function [ <internal:openssl> function openssl_x509_checkpurpose ] {
- Parameters [4] {
Parameter #0 [ <required> $x509cert ]
Parameter #1 [ <required> $purpose ]
Parameter #2 [ <required> $cainfo ]
Parameter #3 [ <optional> $untrustedfile ]
}
}
Function [ <internal:openssl> function openssl_x509_check_private_key ] {
- Parameters [2] {
Parameter #0 [ <required> $cert ]
Parameter #1 [ <required> $key ]
}
}
Function [ <internal:openssl> function openssl_x509_export ] {
- Parameters [3] {
Parameter #0 [ <required> $x509 ]
Parameter #1 [ <required> &$out ]
Parameter #2 [ <optional> $notext ]
}
}
Function [ <internal:openssl> function openssl_x509_export_to_file ] {
- Parameters [3] {
Parameter #0 [ <required> $x509 ]
Parameter #1 [ <required> $outfilename ]
Parameter #2 [ <optional> $notext ]
}
}
Function [ <internal:openssl> function openssl_pkcs12_export ] {
- Parameters [5] {
Parameter #0 [ <required> $x509 ]
Parameter #1 [ <required> &$out ]
Parameter #2 [ <required> $priv_key ]
Parameter #3 [ <required> $pass ]
Parameter #4 [ <required> $args ]
}
}
Function [ <internal:openssl> function openssl_pkcs12_export_to_file ] {
- Parameters [5] {
Parameter #0 [ <required> $x509 ]
Parameter #1 [ <required> $filename ]
Parameter #2 [ <required> $priv_key ]
Parameter #3 [ <required> $pass ]
Parameter #4 [ <optional> $args ]
}
}
Function [ <internal:openssl> function openssl_pkcs12_read ] {
- Parameters [3] {
Parameter #0 [ <required> $PKCS12 ]
Parameter #1 [ <required> &$certs ]
Parameter #2 [ <required> $pass ]
}
}
Function [ <internal:openssl> function openssl_csr_new ] {
- Parameters [4] {
Parameter #0 [ <required> $dn ]
Parameter #1 [ <required> &$privkey ]
Parameter #2 [ <optional> $configargs ]
Parameter #3 [ <optional> $extraattribs ]
}
}
Function [ <internal:openssl> function openssl_csr_export ] {
- Parameters [3] {
Parameter #0 [ <required> $csr ]
Parameter #1 [ <required> &$out ]
Parameter #2 [ <optional> $notext ]
}
}
Function [ <internal:openssl> function openssl_csr_export_to_file ] {
- Parameters [3] {
Parameter #0 [ <required> $csr ]
Parameter #1 [ <required> $outfilename ]
Parameter #2 [ <optional> $notext ]
}
}
Function [ <internal:openssl> function openssl_csr_sign ] {
- Parameters [6] {
Parameter #0 [ <required> $csr ]
Parameter #1 [ <required> $x509 ]
Parameter #2 [ <required> $priv_key ]
Parameter #3 [ <required> $days ]
Parameter #4 [ <optional> $config_args ]
Parameter #5 [ <optional> $serial ]
}
}
Function [ <internal:openssl> function openssl_csr_get_subject ] {
- Parameters [1] {
Parameter #0 [ <required> $csr ]
}
}
Function [ <internal:openssl> function openssl_csr_get_public_key ] {
- Parameters [1] {
Parameter #0 [ <required> $csr ]
}
}
Function [ <internal:openssl> function openssl_digest ] {
- Parameters [3] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> $method ]
Parameter #2 [ <optional> $raw_output ]
}
}
Function [ <internal:openssl> function openssl_encrypt ] {
- Parameters [5] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> $method ]
Parameter #2 [ <required> $password ]
Parameter #3 [ <optional> $options ]
Parameter #4 [ <optional> $iv ]
}
}
Function [ <internal:openssl> function openssl_decrypt ] {
- Parameters [5] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> $method ]
Parameter #2 [ <required> $password ]
Parameter #3 [ <optional> $options ]
Parameter #4 [ <optional> $iv ]
}
}
Function [ <internal:openssl> function openssl_cipher_iv_length ] {
- Parameters [1] {
Parameter #0 [ <required> $method ]
}
}
Function [ <internal:openssl> function openssl_sign ] {
- Parameters [4] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> &$signature ]
Parameter #2 [ <required> $key ]
Parameter #3 [ <optional> $method ]
}
}
Function [ <internal:openssl> function openssl_verify ] {
- Parameters [4] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> $signature ]
Parameter #2 [ <required> $key ]
Parameter #3 [ <optional> $method ]
}
}
Function [ <internal:openssl> function openssl_seal ] {
- Parameters [4] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> &$sealdata ]
Parameter #2 [ <required> &$ekeys ]
Parameter #3 [ <required> $pubkeys ]
}
}
Function [ <internal:openssl> function openssl_open ] {
- Parameters [4] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> &$opendata ]
Parameter #2 [ <required> $ekey ]
Parameter #3 [ <required> $privkey ]
}
}
Function [ <internal:openssl> function openssl_pbkdf2 ] {
- Parameters [5] {
Parameter #0 [ <required> $password ]
Parameter #1 [ <required> $salt ]
Parameter #2 [ <required> $key_length ]
Parameter #3 [ <required> $iterations ]
Parameter #4 [ <optional> $digest_algorithm ]
}
}
Function [ <internal:openssl> function openssl_pkcs7_verify ] {
- Parameters [6] {
Parameter #0 [ <required> $filename ]
Parameter #1 [ <required> $flags ]
Parameter #2 [ <optional> $signerscerts ]
Parameter #3 [ <optional> $cainfo ]
Parameter #4 [ <optional> $extracerts ]
Parameter #5 [ <optional> $content ]
}
}
Function [ <internal:openssl> function openssl_pkcs7_decrypt ] {
- Parameters [4] {
Parameter #0 [ <required> $infilename ]
Parameter #1 [ <required> $outfilename ]
Parameter #2 [ <required> $recipcert ]
Parameter #3 [ <optional> $recipkey ]
}
}
Function [ <internal:openssl> function openssl_pkcs7_sign ] {
- Parameters [7] {
Parameter #0 [ <required> $infile ]
Parameter #1 [ <required> $outfile ]
Parameter #2 [ <required> $signcert ]
Parameter #3 [ <required> $signkey ]
Parameter #4 [ <required> $headers ]
Parameter #5 [ <optional> $flags ]
Parameter #6 [ <optional> $extracertsfilename ]
}
}
Function [ <internal:openssl> function openssl_pkcs7_encrypt ] {
- Parameters [6] {
Parameter #0 [ <required> $infile ]
Parameter #1 [ <required> $outfile ]
Parameter #2 [ <required> $recipcerts ]
Parameter #3 [ <required> $headers ]
Parameter #4 [ <optional> $flags ]
Parameter #5 [ <optional> $cipher ]
}
}
Function [ <internal:openssl> function openssl_private_encrypt ] {
- Parameters [4] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> &$crypted ]
Parameter #2 [ <required> $key ]
Parameter #3 [ <optional> $padding ]
}
}
Function [ <internal:openssl> function openssl_private_decrypt ] {
- Parameters [4] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> &$crypted ]
Parameter #2 [ <required> $key ]
Parameter #3 [ <optional> $padding ]
}
}
Function [ <internal:openssl> function openssl_public_encrypt ] {
- Parameters [4] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> &$crypted ]
Parameter #2 [ <required> $key ]
Parameter #3 [ <optional> $padding ]
}
}
Function [ <internal:openssl> function openssl_public_decrypt ] {
- Parameters [4] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> &$crypted ]
Parameter #2 [ <required> $key ]
Parameter #3 [ <optional> $padding ]
}
}
Function [ <internal:openssl> function openssl_get_md_methods ] {
- Parameters [1] {
Parameter #0 [ <optional> $aliases ]
}
}
Function [ <internal:openssl> function openssl_get_cipher_methods ] {
- Parameters [1] {
Parameter #0 [ <optional> $aliases ]
}
}
Function [ <internal:openssl> function openssl_dh_compute_key ] {
- Parameters [2] {
Parameter #0 [ <required> $pub_key ]
Parameter #1 [ <required> $dh_key ]
}
}
Function [ <internal:openssl> function openssl_random_pseudo_bytes ] {
- Parameters [2] {
Parameter #0 [ <required> $length ]
Parameter #1 [ <optional> &$result_is_strong ]
}
}
Function [ <internal:openssl> function openssl_error_string ] {
- Parameters [0] {
}
}
}
}
|