SessionLogin Method |
Log in user into the cryptographic device
Login is typically required to enable cryptographic operations. Furthermore, some of the device's objects such as certificates or private keys might only be visible when logged in.
Note that many devices are locked after a number of failed login attempts. Therefore, it is crucial to not retry this method using the same password after a failed attempt.
Exception | Condition |
---|---|
PasswordException | If the password is not correct |
PermissionException | If the password has been locked or is expired |
NotSupportedException | If the user has already logged in |