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

AAL2ConvTokenData

  • 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 AAL2ConvTokenData (TKernelParms*      CallParms,
                             aat_ascii*            Old_Serial_No,
                             aat_ascii*            Old_RecType,
                             aat_ascii*            Old_Record,
                             aat_ascii*            Serial_No,
                             aat_ascii*            DIGIPASSType,
                             aat_ascii*            AuthMode,
                             TDigipassBlob*        DPData);

Description

This function may be used to convert existing legacy Digipass databases into the new TDigipassBlob BLOB so that existing Digipass devices can be used with the new validation functions.

Parameters

  Table: Parameters (AAL2ConvTokenData)
TypeNameUseDescription
TKernelParms *CallParmsIStructure of runtime parameters to use during this function call.
aat_ascii *Old_Serial _No IDigipass serial number as expressed in the legacy format.
aat_ascii *Old_RecType IIndicates which kind of legacy data format was used to store Old_Record.
aat_ascii *Old_Record IDigipass data record in legacy format. If the function succeeds, this data will be migrated to the TDigipassBlob format in DPData.
aat_ascii *Serial_No OString of 22 characters composed of the 10-digit Digipass device serial number concatenated with its 12-digit application name. Represents a logical instance of a Digipasscryptographic application with its unique secrets and parameters. It may be used as a search key to access your Digipass database. If the first character of this string is <> 0 (Binary Zero), you may pass the optional PGMSW key (recommended buffer size is 23 bytes).
aat_ascii *DigipassTypeO

String of 5 characters, indicates the physical Digipass device type.

It may be used for information purposes or to determine which flashing pattern protocol to use to send data through the device's optical interface, if any.

Possible values:

  • AKII
  • AUTCD
  • Digipass 100
  • Digipass 300
  • Digipass 500
  • Digipass 600
  • Digipass 700
  • etc.

(Recommended buffer size is 6 bytes.)

aat_ascii *AuthMode O

String of two characters. Defines this authenticator application authentication mode.

Possible values:

  • RO: Response-Only
  • CR: Challenge/Response
  • SG: Signature
  • MM: Multi-Mode
  • UL: Unlock V2 dedicated application

Signature-mode devices may also be used for Challenge/Response authentication if they support a single input data field (recommended buffer size is 3 bytes).

TDigipassBlob *DPDataOauthenticator application BLOB. Upon return from the function call, this BLOB must be rewritten to the application database to reflect changes.

Return codes

   

  Table: Return codes (AAL2ConvTokenData)
CodeMeaningCodeMeaning
0Success-508Token type not supported
510Invalid Digipass data pointer-509Response type not allowed
511Invalid serial number pointer-510Invalid record
512Invalid AuthMode pointer-511Wrong record CRC check
513Invalid data record-1501Memory allocation failed
515Invalid Digipass type pointer  

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