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

Parameter Description format 1 – PEM format 2 – DER format algorithm 1 – RSA key 2 – DSA key 1-84 UniBasic Commands Reference context The Security context handle. The following table describes the status of each return code. Return Code Status 0 Success addCertificate Parameters (continued) 1 Invalid Security Context handle. 2 Certificate file could not be opened or directory does not exist. 3 Unrecognized format. 4 Corrupted or unrecognized certificate contents. 5 Invalid parameter value(s). addCertificate Return Codes

addRequestParameter Syntax addRequestParameter(request_handle, parameter_name, parameter_value, content_handling) 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 addRequestParameter function adds a parameter to the request. Parameters The following table describes each parameter of the syntax. Parameter Description request_handle The handle to the request. parameter_name The name of the parameter. parameter_value The value of the parameter. content_handling The dynamic MIME type for the parameter value. addRequestParameter Parameters The following table describes the status of each return code. Return Code Status 0 Success. addRequestParameter Return Codes addRequestParameter 1-85

Parameter Description<br />

format 1 – PEM format<br />

2 – DER format<br />

algorithm 1 – RSA key<br />

2 – DSA key<br />

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

context The Security context handle.<br />

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

Return<br />

Code Status<br />

0 Success<br />

addCertificate Parameters (continued)<br />

1 Invalid Security Context handle.<br />

2 Certificate file could not be opened or directory does not exist.<br />

3 Unrecognized format.<br />

4 Corrupted or unrecognized certificate contents.<br />

5 Invalid parameter value(s).<br />

addCertificate Return Codes

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

Saved successfully!

Ooh no, something went wrong!