Initialise a new instance of SSLOptions which enables SSL. If this SSLOptions is used server side any client
requires either a copy of the provided certificate or the certificate name 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.
See Also