Discuss this help topic in SecureBlackbox Forum

TElFTPSServer.Versions

TElFTPSServer     See also     


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


Specifies the allowed SSL/TLS versions.

Declaration

[C#]
    TSBVersions Versions;

[VB.NET]
    Property Versions As TSBVersions

[Pascal]
    property Versions : TSBVersions;

[C++]
    TSBVersions get_Versions();
    void set_Versions(TSBVersions Value);

[PHP]
    integer get_Versions()
    void set_Versions(integer $Value)

[Java]
    short getVersions();
    void setVersions(short Value);

TSBVersions values

Description

    Use this property to specify the allowed SSL/TLS versions. 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.

    Default value is [sbSSL3, sbTLS1, sbTLS11, sbTLS12].

    Note, if you set Versions to [sbSSL3, sbTLS1] and connect to Java 2 server which supports only TLS1, Java server will crash. This is a bug in Java 2 server. Note, protocol version assigning differs in VCL and .NET versions. To enable some SSL versions in .NET use bitwise OR operation, for example ‘sbSSL2 | sbSSL3 | sbTLS1’.

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

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

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

[Pascal]
    TElFTPSServer.Versions = sbTLS11 or sbTLS12;

[C++]
    TElFTPSServer.Versions = f_sbTLS11 | f_sbTLS12;

See also:     CipherSuites    

Discuss this help topic in SecureBlackbox Forum