Discuss this help topic in SecureBlackbox Forum

TSBSSLOption

Declared in     


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


TSBSSLOption type defines various options of the secure connection.

Declaration

[C#]
    TSBSSLOption = short;
        const short ssloExpectShutdownMessage = 0;
        const short ssloOpenSSLDTLSWorkaround = 1;
        const short ssloDisableKexLengthAlignment = 2;
        const short ssloForceUseOfClientCertHashAlg = 3;
        const short ssloAutoAddServerNameExtension = 4;
        const short ssloAcceptTrustedSRPPrimesOnly = 5;
        const short ssloDisableSignatureAlgorithmsExtension = 6;
        const short ssloIntolerateHigherProtocolVersions = 7;
        const short ssloStickToPrefCertHashAlg = 8;

[VB.NET]
    TSBSSLOption As Short
        Const ssloExpectShutdownMessage As Short = 0
        Const ssloOpenSSLDTLSWorkaround As Short = 1
        Const ssloDisableKexLengthAlignment As Short = 2
        Const ssloForceUseOfClientCertHashAlg As Short = 3
        Const ssloAutoAddServerNameExtension As Short = 4
        Const ssloAcceptTrustedSRPPrimesOnly As Short = 5
        Const ssloDisableSignatureAlgorithmsExtension As Short = 6
        Const ssloIntolerateHigherProtocolVersions As Short = 7
        Const ssloStickToPrefCertHashAlg As Short = 8

[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, ssloDisableSignatureAlgorithmsExtension = 6, ssloIntolerateHigherProtocolVersions = 7, ssloStickToPrefCertHashAlg = 8 } 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, f_ssloDisableSignatureAlgorithmsExtension = 64, f_ssloIntolerateHigherProtocolVersions = 128, f_ssloStickToPrefCertHashAlg = 256 } TSBSSLOptions;

[PHP]
    class TSBSSLOption extends TSBBaseEnum {
        const ssloExpectShutdownMessage = 0;
        const ssloOpenSSLDTLSWorkaround = 1;
        const ssloDisableKexLengthAlignment = 2;
        const ssloForceUseOfClientCertHashAlg = 3;
        const ssloAutoAddServerNameExtension = 4;
        const ssloAcceptTrustedSRPPrimesOnly = 5;
        const ssloDisableSignatureAlgorithmsExtension = 6;
        const ssloIntolerateHigherProtocolVersions = 7;
        const ssloStickToPrefCertHashAlg = 8;
    }

[Java]
    not available

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