--- title: "AAL2GetTokenInfo" slug: "a3s-cppprg-aal2gettokeninfo-4-0" updated: 2026-11-11T09:57:24Z published: 2026-11-11T09:57:24Z canonical: "docs.onespan.com/a3s-cppprg-aal2gettokeninfo-4-0" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # AAL2GetTokenInfo ## Function prototype ```cpp aat_int32 AAL2GetTokenInfo (TDigipassBlob*   DPData,                             TKernelParms*    CallParms,                             TDigipassInfo*   DPInfo); ``` ## Description This function is used to translate various authenticator application BLOB internal values into a readable format. These values may be used to display Digipass information to the administrator, or to trigger application behavior based on a specific Digipass-internal programming scheme. > The field ResponseLength of TDigipassInfo structure corresponds to the length of the response configured for the application and including the static PIN, if any. ## Parameters | Type | Name | Use | Description | | --- | --- | --- | --- | | TDigipassBlob * | DPData | I | authenticator application BLOB. | | TKernelParms * | CallParms | I | Structure of runtime parameters to use during this function call. | | TDigipassInfo * | DPInfo | O | Digipass information return block. Upon return from the function call, this block contains useful information extracted from the TDigipassBlob data structure. The information is returned in zero-delimited strings. | ## Return codes | Code | Meaning | Code | Meaning | | --- | --- | --- | --- | | 0 | Success | 514 | Invalid Digipass info pointer | | 412 | Invalid checksum | 1118 | Unsupported BLOB | | 413 | Invalid Base64 format | -1501 | Memory allocation failed | | 510 | Invalid Digipass data pointer | | |