@@ -722,8 +722,8 @@ The `private_key` argument can be an object or a string. If `private_key` is a
722722string, it is treated as a raw key with no passphrase. If ` private_key ` is an
723723object, it is interpreted as a hash containing two properties:
724724
725- * ` key ` : A string holding the PEM encoded private key
726- * ` passphrase ` : A string of passphrase for the private key
725+ * ` key ` : {String} - PEM encoded private key
726+ * ` passphrase ` : {String} - passphrase for the private key
727727
728728The ` output_format ` can specify one of ` 'binary' ` , ` 'hex' ` or ` 'base64' ` . If
729729` output_format ` is provided a string is returned; otherwise a [ ` Buffer ` ] [ ] is
@@ -862,16 +862,16 @@ method should not be used.
862862
863863The optional ` details ` argument is a hash object with keys:
864864
865- * ` pfx ` : A string or [ ` Buffer ` ] [ ] holding the PFX or PKCS12 encoded private
865+ * ` pfx ` : {String| Buffer} - PFX or PKCS12 encoded private
866866 key, certificate and CA certificates
867- * ` key ` : A string holding the PEM encoded private key
868- * ` passphrase ` : The string passphrase for the private key or PFX
869- * ` cert ` : A string holding the PEM encoded certificate
870- * ` ca ` : Either a string or array of strings of PEM encoded CA
867+ * ` key ` : {String} - PEM encoded private key
868+ * ` passphrase ` : {String} - passphrase for the private key or PFX
869+ * ` cert ` : {String} - PEM encoded certificate
870+ * ` ca ` : {String|Array} - Either a string or array of strings of PEM encoded CA
871871 certificates to trust.
872- * ` crl ` : Either a string or array of strings of PEM encoded CRLs
872+ * ` crl ` : {String|Array} - Either a string or array of strings of PEM encoded CRLs
873873 (Certificate Revocation List)
874- * ` ciphers ` : A string using the [ OpenSSL cipher list format] [ ] describing the
874+ * ` ciphers ` : {String} using the [ OpenSSL cipher list format] [ ] describing the
875875 cipher algorithms to use or exclude.
876876
877877If no 'ca' details are given, Node.js will use Mozilla's default
@@ -1144,8 +1144,8 @@ treated as the key with no passphrase and will use `RSA_PKCS1_OAEP_PADDING`.
11441144If ` private_key ` is an object, it is interpreted as a hash object with the
11451145keys:
11461146
1147- * ` key ` : A string holding the PEM encoded private key
1148- * ` passphrase ` : An optional string of passphrase for the private key
1147+ * ` key ` : {String} - PEM encoded private key
1148+ * ` passphrase ` : {String} - Optional passphrase for the private key
11491149* ` padding ` : An optional padding value, one of the following:
11501150 * ` constants.RSA_NO_PADDING `
11511151 * ` constants.RSA_PKCS1_PADDING `
@@ -1162,8 +1162,8 @@ treated as the key with no passphrase and will use `RSA_PKCS1_PADDING`.
11621162If ` private_key ` is an object, it is interpreted as a hash object with the
11631163keys:
11641164
1165- * ` key ` : A string holding the PEM encoded private key
1166- * ` passphrase ` : An optional string of passphrase for the private key
1165+ * ` key ` : {String} - PEM encoded private key
1166+ * ` passphrase ` : {String} - Optional passphrase for the private key
11671167* ` padding ` : An optional padding value, one of the following:
11681168 * ` constants.RSA_NO_PADDING `
11691169 * ` constants.RSA_PKCS1_PADDING `
@@ -1180,8 +1180,8 @@ treated as the key with no passphrase and will use `RSA_PKCS1_PADDING`.
11801180If ` public_key ` is an object, it is interpreted as a hash object with the
11811181keys:
11821182
1183- * ` key ` : A string holding the PEM encoded public key
1184- * ` passphrase ` : An optional string of passphrase for the private key
1183+ * ` key ` : {String} - PEM encoded public key
1184+ * ` passphrase ` : {String} - Optional passphrase for the private key
11851185* ` padding ` : An optional padding value, one of the following:
11861186 * ` constants.RSA_NO_PADDING `
11871187 * ` constants.RSA_PKCS1_PADDING `
@@ -1201,8 +1201,8 @@ treated as the key with no passphrase and will use `RSA_PKCS1_OAEP_PADDING`.
12011201If ` public_key ` is an object, it is interpreted as a hash object with the
12021202keys:
12031203
1204- * ` key ` : A string holding the PEM encoded public key
1205- * ` passphrase ` : An optional string of passphrase for the private key
1204+ * ` key ` : {String} - PEM encoded public key
1205+ * ` passphrase ` : {String} - Optional passphrase for the private key
12061206* ` padding ` : An optional padding value, one of the following:
12071207 * ` constants.RSA_NO_PADDING `
12081208 * ` constants.RSA_PKCS1_PADDING `
0 commit comments