11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

showSecurityContext<br />

Syntax<br />

showSecurityContext(context,config)<br />

Note: This function is case-sensitive. If you want it to be case-insensitive, you<br />

must compile your programs using the BASIC command with the -i option.<br />

Description<br />

The showSecurityContext() function dumps the SSL configuration parameters of a<br />

security context into a readable format.<br />

The security context handle must have been returned by a successful execution of<br />

createSecurityContext() or loadSecurityContext().<br />

The configuration information includes: protocol, version, certificate, cipher suite<br />

used by this connection and start time, and so forth.<br />

Warning: For security reasons, UniData does not display the privateKey installed<br />

into the context. Once installed, there is no way for you to extract it.<br />

Parameters<br />

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

Parameter Description<br />

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

context The Security Context handle.<br />

config A dynamic array containing the configuration data.<br />

saveSecurityContext Parameters

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

Saved successfully!

Ooh no, something went wrong!