SecureBlackbox 2020 C++ Edition

Questions / Feedback?

UseTLS Property

Enables or disables the TLS requirement.

Syntax

ANSI (Cross Platform)
int GetUseTLS();
int SetUseTLS(int bUseTLS); Unicode (Windows) BOOL GetUseTLS();
INT SetUseTLS(BOOL bUseTLS);
@property (nonatomic,readwrite,assign,getter=useTLS,setter=setUseTLS:) BOOL useTLS;
- (BOOL)useTLS;
- (void)setUseTLS:(BOOL)newUseTLS;
#define PID_HTTPSERVER_USETLS 109

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_HTTPServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_HTTPServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

FALSE

Remarks

Set this property to true to enable TLS on the listening port. TLS setting is mandatory: the server can either listen to plain HTTP or HTTPS connections.

Use TLSSettings to configure the TLS layer, and ServerCertificates to provide the server certificates.

Data Type

Boolean

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 C++ Edition - Version 20.0 [Build 8166]