public interface SelectableKey
Modifier and Type | Method and Description |
---|---|
void |
selectKey(int index)
Select a key used by the object.
|
void selectKey(int index) throws IdpException
index
- the key index to use starting at 0.IllegalArgumentException
- when the index is out of range.IllegalStateException
- when this function is called twice for the same object.IdpException
- this is generic exception, you can directly catch this exception or catch each specific exception below.IdpStorageException
- when there is a database operation failure.DeviceFingerprintException
- when the token's fingerprint checksum does not match.PasswordManagerException
- when the TOKEN domain is not logged in (using one of the password managers)