Initialise a new instance of SSLOptions which enables SSL. If requireMutualAuthentication is true, and
this SSLOptions is used server side, any client must have a copy of the certificate to successfully connect.
Namespace: NetworkCommsDotNet.Connections.TCPAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- certificate
- Type: System.Security.Cryptography.X509Certificates X509Certificate
The certificate
- allowSelfSignedCertificates
- Type: System Boolean
If true self signed certificates may be used successfully. CAUTION: Allowing self signed certificates makes it significantly easier for a remote peer to impersonate someone.
- requireMutualAuthentication
- Type: System Boolean
True if any client must also have a copy of the server certificate
See Also