EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


ElAS3SSLOptions.Versions

ElAS3SSLOptions     See also    


 

Specifies the allowed SSL/TLS versions.

 
 

Declaration

[C#]
    TSBVersions Versions;
    TSBVersions = SmallInt;

[VB.NET]
    Property Versions As TSBVersions
    TSBVersions As SmallInt

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

[VB6]
    not implemented;

[ActiveX]
    not implemented;

[DLL]
    not implemented;
 
 

Values:

[.NET] [Pascal] [ActiveX] [DLL] Description
sbSSL2 = 1 sbSSL2 SB_SSL_2 = 0 SSL version 2
sbSSL3 = 2 sbSSL3 SB_SSL_3 = 1 SSL version 3
sbTLS1 = 4 sbTLS1 SB_TLS_1 = 2 TLS version 1
sbTLS11 = 8 sbTLS11 SB_TLS_11 = 3 TLS version 1.1
sbTLS12 = 16 sbTLS12 SB_TLS_12 = 4 TLS version 1.2
Declared in
[.NET] [Pascal]
Namespace: SBConstants
Assembly: SecureBlackbox
Unit: SBConstants

 
 

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:  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#]
    ElAS3SSLOptions.Versions = SBConstants.Unit.sbSSL2 | SBConstants.Unit.sbSSL3 | SBConstants.Unit.sbTLS1;

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

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

 
 
 

See also:     CipherSuites    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2011, EldoS Corporation