Checking the Provisioning Status of the Public Key

Check if the public key is provisioned on the client.

Syntax

public boolean IsSUPKeyProvisioned() throws come.sybase.mo.MessagingClientException

Returns

If the key is provisioned, the value 'true' is returned, else 'false'.

Examples

  • Check the provisioning status of the public key
    LiteAppSettings appSettings = new LiteAppSettings();
    if(appSettings.IsSUPKeyProvisioned())
    {
    Log.i(null,"IsSUPKeyProvisioned is true");
    }