UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software

rocketsoftware.com
from rocketsoftware.com More from this publisher
11.04.2013 Views

Parameters The following table describes each parameter of the syntax. Parameter Description The following table describes the status of each return code. 1-718 UniBasic Commands Reference context The Security Context handle. CipherSpecs String containing cipher suite specification described above. setCipherSuite Parameters Return Code Status 0 Success. 1 Invalid Security Context handle. 2 Invalid cipher suite specification. setCipherSuite Return Codes

setClientAuthentication Syntax setClientAuthentication(context,option) Note: This function is case-sensitive. If you want it to be case-insensitive, you must compile your programs using the BASIC command with the -i option. Description The setClientAuthentication() function turns client authentication for a server socket on or off. When option is set to on, during the initial SSL handshake, the server sends a client authentication request to the client. It will also receive the client certificate and perform authentication according to the issuer’s certificate (or certificate chain) set in the security context. Parameters The following table describes each parameter of the syntax. Parameter Description context The Security Context handle. option 1 - ON 2 - OFF setClientAuthentication Parameters setClientAuthentication 1-719

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

The following table describes the status of each return code.<br />

1-718 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

context The Security Context handle.<br />

CipherSpecs String containing cipher suite specification described above.<br />

setCipherSuite Parameters<br />

Return<br />

Code Status<br />

0 Success.<br />

1 Invalid Security Context handle.<br />

2 Invalid cipher suite specification.<br />

setCipherSuite Return Codes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!