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

For TokenRequest and OAuthRequest objects – PB Docs 2022 – PowerBuilder Library

For TokenRequest and OAuthRequest objects – PB Docs 2022

For TokenRequest and OAuthRequest objects

Description

Specifies the client certificate that will be used to access the
server when sending a request.

Applies to

TokenRequest, OAuthRequest

Syntax

Argument

Description

objectname

The name of the object from which you want to set the
client certificate.

p12cert

The client’s private key and public key p12 or PFX
certificate file path.

password

Password of p12 or PFX certificate.

storeName

A string that specifies the name of the certificate
store. Its value is a predefined system store such as:

  • “MY” — The certificate store for personal
    certificates.

  • “Root” — The certificate store for trusted root
    certificate authorities (CAs).

  • “Trust” — The certificate store for directly
    trusted people, resources, and publishers.

  • “CA” — The certificate store for intermediate
    certificate authorities (CAs).

To search for a certificate, it will start from the
store used by the current user; and then the store assigned to
the local machine.

certIssue

A string that identifies the entity that has signed and
issued the certificate.

The key-value pairs are separated by “~r~n”.

certSN

The serial number of the certificate.

The issuer name and the serial number identify a unique
certificate.

Return value

Integer.

Always returns 1.

Usage

If both of the above syntax are executed, the program will take
priority to use the certificate in the certificate store.

Examples

This example uses the certificate stored on the local directory of
the client:

This example uses the certificate from the root certificate
store:

See also

ClearClientCert


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