Please let me know if there is any solution in case the below mentioned error is received on HSM 8000. The HSM is already authorized on which the command is being tried. The command is taken from the manual of HSM 9000; NG command for decrypting the offset previously encrypted using BA command:
Error Code 17 - HSM not authorized, or operation prohibited by security settings
I was expecting the original PIN to be returned by decrypting the offset.