Hi,
I just added the security flag option into the function:
HTTPRequest_Sec
The following flag are supported:
Quote:
SECURITY_FLAG_128BIT=0x20000000
SECURITY_FLAG_40BIT=0x10000000
SECURITY_FLAG_56BIT=0x40000000
SECURITY_FLAG_FORTEZZA=0x08000000
SECURITY_FLAG_IETFSSL4=0x20
SECURITY_FLAG_IGNORE_CERT_CN_INVALID=0x1000
SECURITY_FLAG_IGNORE_CERT_DATE_INVALID=0x2000
SECURITY_FLAG_IGNORE_REDIRECT_TO_HTTP=0x8000
SECURITY_FLAG_IGNORE_REDIRECT_TO_HTTPS=0x4000
SECURITY_FLAG_IGNORE_REVOCATION=0x80
SECURITY_FLAG_IGNORE_UNKNOWN_CA=0x100
SECURITY_FLAG_IGNORE_WRONG_USAGE=0x200
SECURITY_FLAG_NORMALBITNESS=0x10000000
SECURITY_FLAG_SECURE=0x1
SECURITY_FLAG_STRENGTH_MEDIUM=0x40000000
SECURITY_FLAG_STRENGTH_STRONG=0x20000000
SECURITY_FLAG_STRENGTH_WEAK=0x10000000
SECURITY_FLAG_UNKNOWNBIT=0x80000000
You can use them by providing a comma separated line as the 5th parameter like this:
Quote:
size := HTTPRequest(API_EndPoint, Response_Data:=POSTData, Response_Headers:=Headers, My_Options, "SECURITY_FLAG_IGNORE_REVOCATION,SECURITY_FLAG_IGNORE_UNKNOWN")
I added a fifth parameter to the function called security_flags.
I added the security flags and values in lines 176-195.
Also added the security flag handling section using your commented code in lines 531-558.
In the last section there a lot of msgboxes detailing the conversion process.
Not too much error handling like you did and as pretty

but it works.
Hope someone find it useful.