signoAPI iOS – STLicenceError class

The STLicenceError class is an auxiliary class in which the LicenceError enumeration type is defined. It is part of libSignoPDFSigner as well as of libSignoSignatureCapture. LicenceError is an enumeration type of type NSInteger defined with NS_ENUM, which describes the licence errors.

The LicenceError enumeration is defined as follows:

typedef NS_ENUM(NSInteger, LicenceError)

{

No_Error,

Internal_Generic_Error,

Activation_Expired,

Software_Maintenance_Expired,

Purchased_Date_Expired,

Invalid_Feature,

Invalid_Application_ID,

Invalid_Parameter,

Invalid_Licence_Key,

Invalid_Licence_File,

Licence_Deactivated,

Licence_Expired,

Activation_Limit_Reached,

Activation_Not_Allowed,

Client_Incompatible,

Internal_Server_Error,

Internal_Error,

Client_Has_Not_Yet_Been_Activated,

Licence_File_Could_Not_Be_Saved,

Licence_File_Could_Not_Be_Deleted,

No_Licence_File_Loaded,

Client_IDs_Could_Not_Be_Generated,

Invalid_Socket,

Host_Not_Found,

Network_Database_Error,

Connection_Timedout,

Connection_Refused,

SSL_General_Error,

SSL_Stream_Error,

Addrinfo_Error,

Socket_Communicatation_Error,

Socket_Access_Error,

Client_Has_Already_Been_Activated,

Undefined

};

Licence error

Description

No_Error

The licence is valid/action was performed successfully.

Internal_Generic_Error

Internal error.

Activation_Expired

Your licence must be checked regularly online. Please connect your device to the Internet to perform the check. Until the licence is checked, you can only use the software in demo mode.

Software_Maintenance_Expired

The licence does not support the version of the API component that is currently used as the software maintenance has expired. Please use an older version or acquire a new licence, preferably with a software maintenance contract, in order to be able to use all future versions.

Purchased_Date_Expired

The licence does not support the version of the API component that is currently used as no software maintenance is included. Please use an older version or acquire a new licence, preferably with a software maintenance contract, in order to be able to use all future versions.

Invalid_Feature

This feature is not supported by the licence.

Invalid_Application_ID

The licence was not issued for the bundle ID of this app.

Invalid_Paramater

An internal error has occurred: invalid parameter.

Invalid_Licence_Key

The licence key used is invalid.

Invalid_Licence_File

The licence file is invalid.

Licence_Deactivated

The licence has been deactivated.

Licence_Expired

The licensing period has expired.

Activation_Limit_Reached

The maximum number of activations has been reached. It is possible to transfer an activation from another device, however.

Activation_Not_Allowed

The maximum number of activations has been reached. It is not possible to transfer an activation from another device.

Client_Incompatible

The software is not compatible with the licence service. Please contact support!

Internal_Server_Error

An unexpected error has occurred with the licence service.

Internal_Error

An internal error has occurred.

Client_Has_Not_Yet_Been_Activated

The software has not yet been activated.

Licence_File_Could_Not_Be_Saved

The licence file could not be saved.

Licence_File_Could_Not_Be_Deleted

The licence file could not be deleted.

No_Licence_File_Loaded

A valid licence file has not yet been loaded. Please initially call -[ or -[].

Client_IDs_Could_Not_Be_Generated

The required client information could not be generated.

Invalid_Socket

General error in communication with the licence server.

Host_Not_Found

Error in communication with the licence server: The requested host could not be found or the permission is missing in the file of the app that uses the API.

Network_Database_Error

Error in communication with the licence server: An error occurred in “network database operations”.

Connection_Timedout

Error in communication with the licence server: Connection timeout.

Connection_Refused

Error in communication with the licence server: The server has rejected the connection.

SSL_General_Error

Error in communication with the licence server: General SSL error.

SSL_Stream_Error

Error in communication with the licence server: Error in the SSL stream.

Addrinfo_Error

Error in communication with the licence server: Socket type not supported.

Socket_Communication_Error

Error in communication with the licence server: A non-specified communication error has occurred.

Socket_Access_Error

Error in communication with the licence server: An attempt was made to access a socket in a way not supported by the socket’s access authorisations. This is normally caused by a firewall blocking the port or the application.

Client_Has_Already_Been_Activated

An attempt has been made to activate an already activated software with another licence, although the software has already been successfully activated.

Undefined

Unknown error.