File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -188,24 +188,24 @@ declare namespace Connection {
188
188
pfx ?: string ;
189
189
190
190
/**
191
- * A string holding the PEM encoded private key
191
+ * Either a string/buffer or list of strings/Buffers holding the PEM encoded private key(s) to use
192
192
*/
193
- key ?: string ;
193
+ key ?: string | string [ ] | Buffer | Buffer [ ] ;
194
194
195
195
/**
196
196
* A string of passphrase for the private key or pfx
197
197
*/
198
198
passphrase ?: string ;
199
199
200
200
/**
201
- * A string holding the PEM encoded certificate
201
+ * A string/buffer or list of strings/Buffers holding the PEM encoded certificate(s)
202
202
*/
203
- cert ?: string ;
203
+ cert ?: string | string [ ] | Buffer | Buffer [ ] ;
204
204
205
205
/**
206
- * Either a string or list of strings of PEM encoded CA certificates to trust.
206
+ * Either a string/Buffer or list of strings/Buffers of PEM encoded CA certificates to trust.
207
207
*/
208
- ca ?: string | string [ ] ;
208
+ ca ?: string | string [ ] | Buffer | Buffer [ ] ;
209
209
210
210
/**
211
211
* Either a string or list of strings of PEM encoded CRLs (Certificate Revocation List)
You can’t perform that action at this time.
0 commit comments