Skip to content

Commit

Permalink
fixup! doc: remove reference to "credentials object"
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-github committed Mar 26, 2019
1 parent d4ce20b commit ba029f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -1406,9 +1406,9 @@ to `true`, other APIs that create secure contexts leave it unset.
from `process.argv` as the default value of the `sessionIdContext` option, other
APIs that create secure contexts have no default value.

The `tls.createSecureContext()` method creates a `SecureContext` object. The
object has no public methods, but is accepted as an argument to several `tls`
APIs, such as [`tls.createServer()`][] and [`server.addContext()`][].
The `tls.createSecureContext()` method creates a `SecureContext` object. It is
usable as an argument to several `tls` APIs, such as [`tls.createServer()`][]
and [`server.addContext()`][], but has no public methods.

A key is *required* for ciphers that make use of certificates. Either `key` or
`pfx` can be used to provide it.
Expand Down

0 comments on commit ba029f5

Please sign in to comment.