Discuss this help topic in SecureBlackbox Forum

TElSSLClient.Enabled

TElSSLClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Specifies whether secure session is established before sending the data.

Declaration

[C#]
    bool Enabled;

[VB.NET]
    Property Enabled As Boolean

[Pascal]
    property Enabled : boolean;

[C++]
    bool get_Enabled();
    void set_Enabled(bool Value);

[PHP]
    bool get_Enabled()
    void set_Enabled(bool $Value)

[Java]
    boolean getEnabled();
    void setEnabled(boolean Value);

Description

    This property defines the way TElSSLClient establishes session. When TElSSLClient is enabled, it performs its job i.e. establishes SSL/TLS session and encrypts data. When Enabled is False, TElSSLClient passes thedata unchanged. This lets the application call the same methods regardless on whether the secure or regular session is established.
    Example: when the socket is used for HTTP transfer, the application can use TElSSLClient's method both for HTTPS and plain HTTP sessions by enabling or disabling TElSSLClient accordingly.
    It is possible to change the Enabled state in the middle of the session, thus turning SSL on or off. This is useful when supporting explicit SSL in certain high-level protocols.

See also:     TElSSLClass.CipherSuites    

Discuss this help topic in SecureBlackbox Forum