Discuss this help topic in SecureBlackbox Forum

TElSimpleSSLClient.Enabled

TElSimpleSSLClient     See also     


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


Specifies whether secure session is established before sending the data.

Declaration

[C#/Java]
    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)

Description

    This property defines the way TElSimpleSSLClient establishes the session. When TElSimpleSSLClient is enabled, it performs it's job i.e. establishes SSL/TLS session and encrypts data. When Enabled is False, TElSimpleSSLClient passes the data 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 TElSimpleSSLClient's method both for HTTPS and plain HTTP sessions by enabling or disabling TElSimpleSSLClient 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.

    Default value is True.

See also:     CipherSuites    

Discuss this help topic in SecureBlackbox Forum