Discuss this help topic in SecureBlackbox Forum

TSBSSLOption

Declared in     


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


TSBSSLOption type defines various options of the secure connection.

Declaration

[C#/Java]
    TSBSSLOption = short;
        const short ssloExpectShutdownMessage = 1;
        const short ssloOpenSSLDTLSWorkaround = 2;
        const short ssloDisableKexLengthAlignment = 4;
        const short ssloForceUseOfClientCertHashAlg = 8;
        const short ssloAutoAddServerNameExtension = 16;
        const short ssloAcceptTrustedSRPPrimesOnly = 32;

[VB.NET]
    TSBSSLOption As SmallInt
        Const dppName As SmallInt = 1
        Const ssloExpectShutdownMessage As Short = 1
        Const ssloOpenSSLDTLSWorkaround As Short = 2
        Const ssloDisableKexLengthAlignment As Short = 4
        Const ssloForceUseOfClientCertHashAlg As Short = 8
        Const ssloAutoAddServerNameExtension As Short = 16
        Const ssloAcceptTrustedSRPPrimesOnly As Short = 32

[Pascal]
    TTSBSSLOption = (ssloExpectShutdownMessage, ssloOpenSSLDTLSWorkaround, ssloDisableKexLengthAlignment, ssloForceUseOfClientCertHashAlg, ssloAutoAddServerNameExtension, ssloAcceptTrustedSRPPrimesOnly);

[C++]
    typedef uint8_t TSBSSLOptionRaw;
    typedef enum
    {
        ssloExpectShutdownMessage = 0,
        ssloOpenSSLDTLSWorkaround = 1,
        ssloDisableKexLengthAlignment = 2,
        ssloForceUseOfClientCertHashAlg = 3,
        ssloAutoAddServerNameExtension = 4
        ssloAcceptTrustedSRPPrimesOnly = 5
    } TSBSSLOption;
    
    typedef uint32_t TSBSSLOptionsRaw;
    typedef enum
    {
        f_ssloExpectShutdownMessage = 1,
        f_ssloOpenSSLDTLSWorkaround = 2,
        f_ssloDisableKexLengthAlignment = 4,
        f_ssloForceUseOfClientCertHashAlg = 8,
        f_ssloAutoAddServerNameExtension = 16
        f_ssloAcceptTrustedSRPPrimesOnly = 32
    } TSBSSLOptions;

Values:


Declared in

.NET:
  • Namespace: SBSSLCommon
  • Assembly: SecureBlackbox.SSLCommon
VCL:
  • Unit: SBSSLCommon
Java:
  • Package: SecureBlackbox.SSLCommon.jar
C++:
  • sbsslcommon.h

Discuss this help topic in SecureBlackbox Forum