Collapse All Expand All

.NET Framework Class Library
ConnectionFactory Class See Also

[TIBCO.EMS.UFOCLIENT .NET client library 5.1 documentation]

Enable or disable encryption/decryption of the message data over the SSL connection

Namespace: TIBCO.EMS.UFO
Assembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)

# Syntax

    public void SetSSLAuthOnly(
    	bool authOnly
    )

    Public Sub SetSSLAuthOnly ( _
    	authOnly As Boolean _
    )

    public:
    void SetSSLAuthOnly(
    	bool authOnly
    )

#### Parameters

authOnly
  Type: System..::.Boolean
  Flag to indicate whether the connection should only authenticate.
  - When true, only the authentication to connect is performed and data sent over the connection is not encrypted or decrypted.
  - When false (the default), authentication to is performed and data sent over the connection is encrypted and decrypted.

# Remarks

For the client and server to require an SSL connection only to perform authentication, the ssl_auth_only parameter needs to be set on the server and AUTH_ONLY needs to be set by the client. Setting these flags on both the server and client side indicates that the SSL connection is only used to only perform authentication. Once authentication is complete, the client switches to a regular TCP connection to communicate with the server.

# See Also

ConnectionFactory Class
TIBCO.EMS.UFO Namespace