Discuss this help topic in SecureBlackbox Forum

TElSimpleSSLClient.StopTLS

TElSimpleSSLClient     See also     


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


Gracefully closes SSL session.

Declaration

[C#/Java]
    void StopTLS(bool Silent);

[VB.NET]
    Sub StopTLS(ByVal Silent As Boolean)

[Pascal]
    procedure StopTLS(Silent : boolean = false);

[C++]
    void StopTLS(bool Silent);

[PHP]
    void StopTLS(bool $Silent)

Parameters

  • Silent - specifies whether TElSimpleSSLClient should send closing TLS notification to the server

Description

    This method causes TElSimpleSSLClient to gracefully close SSL session. Call this method after application has finished using the SSL/TLS session.
    If SSL is not enabled (Enabled property is set to false), TElSimpleSSLClient does nothing and returns immediately.
    If Silent parameter is set to False, TElSimpleSSLClient sends closing SSL notification to server.
    Set this parameter to True to prevent sending of notification packet. In this case the session can't be resumed later.

    Default value is False.

See also:     Enabled     StartTLS    

Discuss this help topic in SecureBlackbox Forum