SecureBlackbox

200+ components and classes for all aspects of digital security of your data

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


TElSSLServer.Versions

TElSSLServer     See also     


 

Specifies the allowed SSL/TLS versions.

 

Declaration

[C#/Java]
    TSBVersions Versions;
    
    TSBVersions = short;
    TSBVersions represents a bit mask which contains zero or more bit flags as defined by TSBVersion

[VB.NET]
    Property Versions As TSBVersions
    
    TSBVersions As SmallInt
    TSBVersions represents a bit mask which contains zero or more bit flags as defined by TSBVersion

[Pascal]
    property Versions : TSBVersions;
    TSBVersions = set of TSBVersion;

[C++]
    not implemented;

   

Parameters

  • Version - The value that is to be enabled or disabled. See the list of values below
   

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.

    Default value [sbSSL2, sbSSL3, sbTLS1, sbTLS11];

   
     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 for 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#/Java]
    TElSSLServer.Versions = SBConstants.Unit.sbSSL2 | SBConstants.Unit.sbSSL3 | SBConstants.Unit.sbTLS1;

[VB.NET]
    TElSSLServer.Versions = SBConstants.Unit.sbSSL2 Or SBConstants.Unit.sbSSL3 Or SBConstants.Unit.sbTLS1

[Pascal]
    TElSSLServer.Versions = sbSSL2 or sbSSL3 or sbTLS1;

   

See also:     CipherSuites    

 
Back to top