Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

SecureProtocol – PB Docs 2021 – PowerBuilder Library

SecureProtocol – PB Docs 2021

SecureProtocol

property for PowerScript controls

Applies to

HTTPClient and RestClient objects

Description

The SecureProtocol property specifies the secure protocol. Values
are:

0 – All secure protocols. This is the default value. It will detect
and use the secure protocol in the following order: TLS 1.2, TLS 1.1, SSL
2.0/SSL 3.0/TLS 1.0.

1 – SSL 2

2 – SSL 3

3 – TLS 1.0

4 – TLS 1.1

5 – TLS 1.2

Usage

In a painter

To set the secure protocol:

  • Select the secure protocol from the secureProtocol list on the
    General page in the object’s Properties view.

In scripts

The SecureProtocol property takes an integer value. The following
example sets the SecureProtocol property to TLS 1.0:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x