Hasp Class

Package: Aladdin

Description

Provides methods to access various functions of the Sentinel protection key.

Syntax

public class Hasp

Constructors

Name Description
Hasp() Constructs a new Hasp object for use with a specified Feature.

Methods

Name Description
Config Configures the behavior of the Licensing API for a specific application run-time session.

Decrypt

Decrypts a buffer using the AES encryption algorithm.

Encrypt

Encrypts a buffer using the AES encryption algorithm.

GetInfo

Retrieves information according to customizable search parameters, and presents it according to customizable formats.

GetLastError Returns the last API HaspStatus status code.

GetRealTimeClock

Reads the current time from a HLTime or HLNetTime key.

GetSessionInfo

Retrieves information regarding a session context.

GetSize Retrieves the byte size of a memory file from a Sentinel protection key.

GetVersion

Retrieves the version and build number of the Sentinel Licensing API library.

Login

Logs in to a Feature, establishing a session context.

LoginScope

Logs in to a Feature according to customizable search parameters.

Logout

Logs out from a context or session.

Read Retrieves content from a memory file in a Sentinel protection key.
Transfer Transfers a license from a Sentinel SL key.
Config Configures the behavior of the Licensing API for a specific application run-time session.

Update

Writes an update for a Sentinel LDK license.

Update Session

Writes an update for a login session for a protection key.

Write Writes to the memory of a Sentinel protection key.

Fields

Field summary