SSLOptions MembersNetworkComms.Net Help
The SSLOptions type exposes the following members.
Constructors

  NameDescription
Public methodSSLOptions 
Initialise a new empty instance of SSLOptions, which disables SSL.
Public methodSSLOptions(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.
Public methodSSLOptions(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.
Public methodSSLOptions(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.
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyAllowSelfSignedCertificate
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.
Public propertyAuthenticated
True once the SSL handshake has been authenticated
Public propertyCertificate
A suitable certificate
Public propertyCertificateName
The certificate name
Public propertyRequireMutualAuthentication
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.
Public propertySSLEnabled
True if SSL has been enabled
Back to Top
See Also