public interface VicDevice
Modifier and Type | Method and Description |
---|---|
boolean |
isVerifyBlocked()
Check if Verify Issuer Code is blocked (
verifyIssuerCode(com.gemalto.idp.mobile.core.util.SecureString, com.gemalto.idp.mobile.authentication.AuthInput) ). |
boolean |
isVerifyLastAttempt()
Check if Verify Issuer Code is the last attempt (
verifyIssuerCode(com.gemalto.idp.mobile.core.util.SecureString, com.gemalto.idp.mobile.authentication.AuthInput) ). |
boolean |
verifyIssuerCode(SecureString vic,
AuthInput authInput)
Verify the code given by the caller to authenticate him
|
boolean isVerifyBlocked() throws IdpException
verifyIssuerCode(com.gemalto.idp.mobile.core.util.SecureString, com.gemalto.idp.mobile.authentication.AuthInput)
).
This method is affected by the PUK Try Counter value.
IdpException
- this is generic exception, you can directly catch this exception or catch each specific exception below.IdpStorageException
- when there is a database operation failureDeviceFingerprintException
- when the token's fingerprint checksum does not match.PasswordManagerException
- when the TOKEN domain is not logged in (using one of the password managers)boolean isVerifyLastAttempt() throws IdpException
verifyIssuerCode(com.gemalto.idp.mobile.core.util.SecureString, com.gemalto.idp.mobile.authentication.AuthInput)
).
This method is affected by the PUK Try Counter value.
IdpException
- this is generic exception, you can directly catch this exception or catch each specific exception below.IdpStorageException
- when there is a database operation failureDeviceFingerprintException
- when the token's fingerprint checksum does not match.PasswordManagerException
- when the TOKEN domain is not logged in (using one of the password managers)boolean verifyIssuerCode(SecureString vic, AuthInput authInput) throws IdpException
vic
- the code to be verifiedauthInput
- the authInput for authenticationIdpException
- this is generic exception, you can directly catch this
exception or catch each specific exception below. *VicException
- when the ATC counter reaches its maximum value or when the
Try Counter is blocked.IdpAuthException
- When Authentication mode is not property activated.IllegalArgumentException
- when the length of the VIC code is incorrect.IdpRuntimeException
- when there is a cryptography operation failure.IdpStorageException
- when there is a database operation failureDeviceFingerprintException
- when the token's fingerprint checksum does not match.PasswordManagerException
- when the TOKEN domain is not logged in (using one of the
password managers)