User identifier in the HSM. Maximum size of MAX_USR_LEN.
Changes the authenticated user's password.
Returns true if the password was changed successfully.
Throws exception if an error occurs when changing the password.
Throws exception if new password is invalid.
New HSM user password. Size must be between MIN_USR_PWD_LEN and MAX_USR_PWD_LEN.
Create a user in HSM.
Returns true if the user was created successfully.
Throws an exception if an error occurs when creating the user.
Throws exception if userId or password are invalid.
User identifier in the HSM. Maximum size of MAX_USR_LEN.
HSM user password. Maximum size of MAX_USR_PWD_LEN.
Optional
permissions: USER_PERMISSIONS[]User permissions in HSM. Default: NOP.
Generates a token for the authenticated user.
Returns the generated token.
Throws exception if an error occurs when generating the token.
Throws exception if expiration date is invalid.
Optional
expiration: DateToken expiration date. Default: No expiration.
Removes a user from HSM.
Returns true if the user was successfully removed.
Throws an exception if an error occurs when removing the user.
Throws exception if userId is invalid.
User identifier in the HSM. Maximum size of MAX_USR_LEN.
Revoke an authenticated user's token.
Returns true if the token was successfully revoked.
Throws exception if an error occurs when revoking the token.
Throws exception if token is invalid.
Token to be revoked. The token generated by the generateToken method or returned by the listTokens method.
Unlocks a user in HSM.
User identifier in the HSM. Maximum size of MAX_USR_LEN.
Description
Blocks a user in HSM.