Discuss this help topic in SecureBlackbox Forum

TSBVersions

Declared in     See also     


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


Defines a set of possible SSL/TLS versions.

Declaration

[C#]
    TSBVersions = int;
        const int sbSSL2 = 1;
        const int sbSSL3 = 2;
        const int sbTLS1 = 4;
        const int sbTLS11 = 8;
        const int sbTLS12 = 16;
        const int sbTLS13 = 32;

[VB.NET]
    TSBVersions As Integer
        Const sbSSL2 As Integer = 1
        Const sbSSL3 As Integer = 2
        Const sbTLS1 As Integer = 4
        Const sbTLS11 As Integer = 8
        Const sbTLS12 As Integer = 16
        Const sbTLS13 As Integer = 32

[Pascal]
    TSBVersion = (sbSSL2, sbSSL3, sbTLS1, sbTLS11, sbTLS12);
    TSBVersions = set of TSBVersion;

[C++]
    typedef uint8_t TSBVersionRaw;
    typedef enum { sbSSL2 = 0, sbSSL3 = 1, sbTLS1 = 2, sbTLS11 = 3, sbTLS12 = 4, sbTLS13 = 5 } TSBVersion;
    
    typedef uint32_t TSBVersionsRaw;
    typedef enum { f_sbSSL2 = 1, f_sbSSL3 = 2, f_sbTLS1 = 4, f_sbTLS11 = 8, f_sbTLS12 = 16, f_sbTLS13 = 32 } TSBVersions;

[PHP]
    class TSBVersions extends TSBBaseEnum {
        const sbSSL2 = 1;
        const sbSSL3 = 2;
        const sbTLS1 = 4;
        const sbTLS11 = 8;
        const sbTLS12 = 16;
        const sbTLS13 = 32;
    }

[Java]
    not available

Possible values

Declared in

.NET:
  • Namespace: SBSSLConstants
  • Assembly: SecureBlackbox.SSLCommon
VCL:
  • Unit: SBSSLConstants
Java:
  • Not available
C++:
  • sbsslconstants.h

See also:     TSBVersion    

Discuss this help topic in SecureBlackbox Forum