Settings for the connectNoiseStream function.
Client or server role.
Private key in memory.
Path to private key file. Either this or the privateKey field must be set. If both are set the privateKeyPath field is used.
Path to public key file of remote server
If provided will be used to verify the remote public key. If this is not set remoteKeyPath is used instead.