The SSLOptions type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
SSLOptions |
Initialise a new empty instance of SSLOptions, which disables SSL.
| |
SSLOptions(X509Certificate, Boolean) |
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.
| |
SSLOptions(String, Boolean) |
Initialise a new instance of SSLOptions which enables SSL. Can be successfully used to
connect to a server with a matching certificateName. Server must not require MutualAuthentication.
| |
SSLOptions(X509Certificate, Boolean, Boolean) |
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.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AllowSelfSignedCertificate |
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.
| |
Authenticated |
True once the SSL handshake has been authenticated
| |
Certificate |
A suitable certificate
| |
CertificateName |
The certificate name
| |
RequireMutualAuthentication |
If true the client must set the correct certificate in its SSLOptions. If false
all the client requires to successfully connect is the certificate name.
| |
SSLEnabled |
True if SSL has been enabled
|
See Also