XML Tags for the Hasp.Config Method

This topic describes the Config method XML tags that are used to:

>Specify the Identity String to Be Used to Access a Cloud License

>Configuring the Server Certificate for HTTPS

The hasp_config XML tags are described below.

Specify the Identity String to Be Used to Access a Cloud License

Use the <credentials> tag to specify one or more client identity strings for a given login session.

You typically specify a single identity string, although you can specify multiple identity strings.

If you want to change the assigned identity string during a login session, include the <clear/> tag to clear the previously-assigned credentials. Otherwise, the new credentials are added to the previous ones.

Use the following syntax:

<?xml version="1.0" encoding="UTF-8" ?>
<haspconfig>
    <credentials>
       <clear/> ;
       <identity>identityString</identity> ; 
       <identity> ...
    </credentials>
</haspconfig>

Configuring the Server Certificate for HTTPS

Use the <server_config> tag to configure the server certificate for HTTPS.

<?xml version="1.0" encoding="UTF-8" ?>
   <haspconfig>
     <server_config>
       <certificate>CERTIFICATE-STRING</certificate>
       <certificate_store>PATH</certificate_store> 
     </server_config>
   </haspconfig>

Use the <certificate> tag to specify the certificate string.

For HTTPS to verify the server certificate, use the <certificate_store> tag to specify the trusted certificate path. If the path is not specified, the system certificate is used.


Related Topics

Hasp.Config Method

About XML Tags

Scope Input XML Tags

Format XML Tags