Class AuthenticationObject
Class implementing authentication objects like PINs, PACE passwords or keys
Defined in: AuthenticationObject.js.
Constructor Attributes | Constructor Name and Description |
---|---|
AuthenticationObject(name, type, id, value)
Create an authentication object
|
Method Attributes | Method Name and Description |
---|---|
activate()
Activate authentication object
|
|
changeReferenceData(qualifier, value)
Change reference data, optionally verifying the old value before
|
|
Deactivate authentication object
|
|
Deactivate authentication object
|
|
getType()
Override from base class
|
|
resetRetryCounter(newValue)
Reset retry counter and optionally set new reference value
|
|
Deactivate authentication object
|
|
Terminate authentication object
|
|
toString()
Convert object to a human readable string
|
|
verify(value)
Verify PIN value
|
Class Detail
AuthenticationObject(name, type, id, value)
Create an authentication object
- Parameters:
- {String} name
- the human readable name of the object
- {String} type
- one of AuthenticationObject.TYPE_PACE or AuthenticationObject.TYPE_PIN
- {Number} id
- the password or key id
- {ByteString} value
- the reference value
Method Detail
activate()
Activate authentication object
changeReferenceData(qualifier, value)
Change reference data, optionally verifying the old value before
- Parameters:
- {Number} qualifier
- command qualifier, 00 = oldPIN||newPIN, 01 = newPIN
- {ByteString} value
- new reference value
deactivate()
Deactivate authentication object
decreaseRetryCounter()
Deactivate authentication object
getType()
Override from base class
resetRetryCounter(newValue)
Reset retry counter and optionally set new reference value
- Parameters:
- {ByteString} newValue
- new reference value
restoreRetryCounter()
Deactivate authentication object
terminate()
Terminate authentication object
toString()
Convert object to a human readable string
verify(value)
Verify PIN value
- Parameters:
- {ByteString} value
- reference value