Interface SecureConnectionOptions

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.

interface SecureConnectionOptions {
    remotePeer?: PeerId;
    signal?: AbortSignal;
}

Hierarchy (view full)

Properties

Properties

remotePeer?: PeerId
signal?: AbortSignal