AAL2SetTokenProperty
  • 22 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

AAL2SetTokenProperty

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

Function prototype

aat_int32 AAL2SetTokenProperty (
                                TDigipassBlob*   DPData,
                                TKernelParms*    CallParms,
                                aat_int32        Property;
                                aat_int32        Value);

Description

This function can be used to set specific properties as described in Table: List of properties for AAL2SetTokenProperty.

  Table:  List of properties for AAL2SetTokenProperty
InformationPropertyDescription
Last time usedLAST_TIME_USED

Integer between 631152000 and 2147483647

Only a time later than the current LAST_TIME_USED can be set.

Last time shiftLAST_TIME_SHIFTInteger between -100000 and 100000
Enable static PINPIN_ENABLED
  • Value = 1: Enabled
  • Value = 2: Disabled
Force PIN changePIN_CH_FORCEDValue = 1: Force PIN
Minimum PIN lengthPIN_MIN_LENInteger between 3 and 8
Virtual authenticator grace periodVIRTUAL_TOKEN_GRACE_PERIODValue = 1 to 364
Virtual authenticator remain useVIRTUAL_TOKEN_REMAIN_USE

0 disables the counter

Value = 0 to 254

Error countERROR_COUNT

Setting is possible (reset only):

Value = 0 mandatory

Event valueEVENT_VALUE

Only events greater than the current EVENT_VALUE can be set.

Integer between 0 and 4294967294 (this value must be cast as aat_int32-signed integer to be compliant with the function prototype).

Authenticator statusTOKEN_STATUS

Can be set only; possible values:

  • 0: Authenticator disabled
  • 1: Primary application enabled only
  • 2: Backup application enabled only
  • 3: Primary and backup enabled

Parameters

  Table: Parameters (AAL2SetTokenProperty)
TypeNameUseDescription
TDigipassBlob *DPDataI/OThis is the authenticator application BLOB. Upon return from the function call, this BLOB must be rewritten to the application database to reflect changes.
TKernelParms *CallParmsIStructure of runtime parameters to use during this function call.

aat_int32

PropertyIIndicates the property to set.
aat_int32ValueIValue for the specified property as described in Table: List of properties for AAL2SetTokenProperty.

Return codes

  Table: Return codes (AAL2SetTokenProperty)
CodeMeaningCodeMeaning
0Success518Invalid property
412Invalid checksum806Static password change not supported
413Invalid Base64 format1118Unsupported BLOB
510Invalid Digipass data pointer-1501Memory allocation failed
517Invalid property value  

Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle