Discuss this help topic in SecureBlackbox Forum

TElSSLSocket.Versions

TElSSLSocket     See also     


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


Specifies allowed SSL/TLS versions.

Declaration

[C#]
    not available

[VB.NET]
    not available

[Pascal]
    not implemented;

[C++]
    not available

[PHP]
    not available

[Java]
    not available

Values:

Description

    This property defines which SSL/TLS versions are allowed to be used during SSL/TLS session. By default all versions are allowed. The application can disable undesired versions. It is not possible to disable SSL3 if TLS1 and SSL2 are both enabled.
     Note, to enable several SSL versions use bitwise OR operation, for example ‘sbSSL2 | sbSSL3 | sbTLS1’.

    Example:  The following shows how to set the property for different SecureBlackbox editions:

[C#]
    TElSSLSocket.Versions = SBSSLConstants.Unit.sbTLS11 | SBSSLConstants.Unit.sbTLS12;

[VB.NET]
    TElSSLSocket.Versions = SBSSLConstants.Unit.sbTLS11 Or SBSSLConstants.Unit.sbTLS12

[Pascal]
    TElSSLSocket.Versions = sbTLS11 or sbTLS12;

See also:     CurrentVersion    

Discuss this help topic in SecureBlackbox Forum