Class Index | File Index

Classes


Class AuthenticationObject

Class implementing authentication objects like PINs, PACE passwords or keys
Defined in: AuthenticationObject.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
AuthenticationObject(name, type, id, value)
Create an authentication object
Method Summary
Method Attributes Method Name and Description
 
Activate authentication object
 
changeReferenceData(qualifier, value)
Change reference data, optionally verifying the old value before
 
Deactivate authentication object
 
Deactivate authentication object
 
Override from base class
 
Reset retry counter and optionally set new reference value
 
Deactivate authentication object
 
Terminate authentication object
 
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

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Feb 16 2024 18:38:11 GMT+0100 (CET)