Struct NoiseSettings
Settings for the connectNoiseStream function.
Constructors
Constructors
Name | Description |
---|
this | Convenience constructor.
|
Fields
Fields
Name | Type | Description |
---|
kind | NoiseKind | Client or server role.
|
privateKey | const(ubyte)[] | Private key in memory.
|
privateKeyPath | vibe.inet.path.Path | Path to private key file. Either this or the privateKey field
must be set. If both are set the privateKeyPath field is used.
|
remoteKeyPath | vibe.inet.path.Path | Path to public key file of remote server
|
verifyRemoteKey | nothrow bool delegate(scope const(ubyte[])) | If provided will be used to verify the remote public key.
If this is not set remoteKeyPath is used instead.
|