Performs a session check-out for a given duration of time to enable offline use.
The loaded certificate file will automatically be locked to the process. If it is not desired to lock the file use the SK_FLAGS_NETWORKSESSION_SKIPLOCKATTEMPT flag.
All possible return values are included in the SK_ResultCode enumeration. Return codes to expect include:
Result Code | Description |
---|---|
SK_ResultCode.SK_ERROR_NONE | No error. |
SK_ResultCode.SK_ERROR_XML_PARSER_FAILED | The XML parser encountered an error. |
SK_ResultCode.SK_ERROR_INVALID_ARGUMENTS | Some or all of the arguments are invalid. |
SK_ResultCode.SK_ERROR_INVALID_DATA | The presence of invalid data has been detected. |
SK_ResultCode.SK_ERROR_DECRYPTION_FAILED | The requested decryption operation has failed. |
SK_ResultCode.SK_ERROR_VERIFICATION_FAILED | The requested verification operation has failed. |
SK_ResultCode.SK_ERROR_MEMORY_ALLOCATION | Memory could not be allocated. |
SK_ResultCode.SK_ERROR_COULD_NOT_OPEN_FILE | An attempt to open a file failed. |
SK_ResultCode.SK_ERROR_LICENSE_SYSTEM_IDENTIFIERS_DONT_MATCH | License system identifiers do not match. |
SK_ResultCode.SK_ERROR_LICENSE_NOT_EFFECTIVE_YET | License is not yet effective. |
SK_ResultCode.SK_ERROR_LICENSE_EXPIRED | License has expired. |