@@ -710,8 +710,8 @@ The `private_key` argument can be an object or a string. If `private_key` is a
710710string, it is treated as a raw key with no passphrase. If ` private_key ` is an
711711object, it is interpreted as a hash containing two properties:
712712
713- * ` key ` : A string holding the PEM encoded private key
714- * ` passphrase ` : A string of passphrase for the private key
713+ * ` key ` : {String} - PEM encoded private key
714+ * ` passphrase ` : {String} - passphrase for the private key
715715
716716The ` output_format ` can specify one of ` 'binary' ` , ` 'hex' ` or ` 'base64' ` . If
717717` output_format ` is provided a string is returned; otherwise a [ ` Buffer ` ] [ ] is
@@ -850,16 +850,16 @@ method should not be used.
850850
851851The optional ` details ` argument is a hash object with keys:
852852
853- * ` pfx ` : A string or [ ` Buffer ` ] [ ] holding the PFX or PKCS12 encoded private
853+ * ` pfx ` : {String| Buffer} - PFX or PKCS12 encoded private
854854 key, certificate and CA certificates
855- * ` key ` : A string holding the PEM encoded private key
856- * ` passphrase ` : The string passphrase for the private key or PFX
857- * ` cert ` : A string holding the PEM encoded certificate
858- * ` ca ` : Either a string or array of strings of PEM encoded CA
855+ * ` key ` : {String} - PEM encoded private key
856+ * ` passphrase ` : {String} - passphrase for the private key or PFX
857+ * ` cert ` : {String} - PEM encoded certificate
858+ * ` ca ` : {String|Array} - Either a string or array of strings of PEM encoded CA
859859 certificates to trust.
860- * ` crl ` : Either a string or array of strings of PEM encoded CRLs
860+ * ` crl ` : {String|Array} - Either a string or array of strings of PEM encoded CRLs
861861 (Certificate Revocation List)
862- * ` ciphers ` : A string using the [ OpenSSL cipher list format] [ ] describing the
862+ * ` ciphers ` : {String} using the [ OpenSSL cipher list format] [ ] describing the
863863 cipher algorithms to use or exclude.
864864
865865If no 'ca' details are given, Node.js will use Mozilla's default
@@ -1134,8 +1134,8 @@ treated as the key with no passphrase and will use `RSA_PKCS1_OAEP_PADDING`.
11341134If ` private_key ` is an object, it is interpreted as a hash object with the
11351135keys:
11361136
1137- * ` key ` : A string holding the PEM encoded private key
1138- * ` passphrase ` : An optional string of passphrase for the private key
1137+ * ` key ` : {String} - PEM encoded private key
1138+ * ` passphrase ` : {String} - Optional passphrase for the private key
11391139* ` padding ` : An optional padding value, one of the following:
11401140 * ` constants.RSA_NO_PADDING `
11411141 * ` constants.RSA_PKCS1_PADDING `
@@ -1152,8 +1152,8 @@ treated as the key with no passphrase and will use `RSA_PKCS1_PADDING`.
11521152If ` private_key ` is an object, it is interpreted as a hash object with the
11531153keys:
11541154
1155- * ` key ` : A string holding the PEM encoded private key
1156- * ` passphrase ` : An optional string of passphrase for the private key
1155+ * ` key ` : {String} - PEM encoded private key
1156+ * ` passphrase ` : {String} - Optional passphrase for the private key
11571157* ` padding ` : An optional padding value, one of the following:
11581158 * ` constants.RSA_NO_PADDING `
11591159 * ` constants.RSA_PKCS1_PADDING `
@@ -1170,8 +1170,8 @@ treated as the key with no passphrase and will use `RSA_PKCS1_PADDING`.
11701170If ` public_key ` is an object, it is interpreted as a hash object with the
11711171keys:
11721172
1173- * ` key ` : A string holding the PEM encoded public key
1174- * ` passphrase ` : An optional string of passphrase for the private key
1173+ * ` key ` : {String} - PEM encoded public key
1174+ * ` passphrase ` : {String} - Optional passphrase for the private key
11751175* ` padding ` : An optional padding value, one of the following:
11761176 * ` constants.RSA_NO_PADDING `
11771177 * ` constants.RSA_PKCS1_PADDING `
@@ -1191,8 +1191,8 @@ treated as the key with no passphrase and will use `RSA_PKCS1_OAEP_PADDING`.
11911191If ` public_key ` is an object, it is interpreted as a hash object with the
11921192keys:
11931193
1194- * ` key ` : A string holding the PEM encoded public key
1195- * ` passphrase ` : An optional string of passphrase for the private key
1194+ * ` key ` : {String} - PEM encoded public key
1195+ * ` passphrase ` : {String} - Optional passphrase for the private key
11961196* ` padding ` : An optional padding value, one of the following:
11971197 * ` constants.RSA_NO_PADDING `
11981198 * ` constants.RSA_PKCS1_PADDING `
0 commit comments