Optional
remoteOptional
signalOptional
skipSome encryption protocols allow negotiating application protocols as part
of the initial handshake. The negotiated stream muxer protocol will be
included as part of the from the secureOutbound
/secureInbound
methods
unless false
is passed here.
If the remote PeerId is known and passed as an option, the securing operation will throw if the remote peer cannot prove it has the private key that corresponds to the public key the remote PeerId is derived from.