Discuss this help topic in SecureBlackbox Forum

TSBVersion

Declared in     See also     


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


Defines possible SSL/TLS versions.

Declaration

[C#/Java]
    TSBVersion = short;
        const short sbSSL2 = 0;
        const short sbSSL3 = 1;
        const short sbTLS1 = 2;
        const short sbTLS11 = 3;
        const short sbTLS12 = 4;

[VB.NET]
    TSBVersion As Short
        Const sbSSL2 As Short = 0
        Const sbSSL3 As Short = 1
        Const sbTLS1 As Short = 2
        Const sbTLS11 As Short = 3
        Const sbTLS12 As Short = 4

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

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

[PHP]
    class TSBVersion extends TSBBaseEnum {
        const sbSSL2 = 0;
        const sbSSL3 = 1;
        const sbTLS1 = 2;
        const sbTLS11 = 3;
        const sbTLS12 = 4;
    }

Possible values


Declared in

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

See also:     Versions    

Discuss this help topic in SecureBlackbox Forum