TDigipassBlob

Prev Next

The Digipass BLOB is the logical Digipass data block structure of one Digipass application. This format and the following sub-field definitions are used to describe all the data necessary to communicate between a calling program and the Authentication Suite Server SDK APIs.

typedef struct
{
    /* Field Description                    :  Position   :  Length     */
    /* Serial #                             :  x00 - 000  :  x0A - 010  */
    aat_ascii Serial[10];
    /* Application name                     :  x0A - 010  :  x0C - 012  */
    aat_ascii AppName[12];
    /* Reserved Flag bytes                  :  x16 - 022  :  x02 - 002  */
    aat_byte DPFlags[2];
    /* Base64 encoded data                  :  x18 - 024  :  xE0 - 224  */
    aat_ascii Blob[224];
    /* Total structure length               :  xF8 - 248  :  xF8 - 248  */
} TDigipassBlob;

All BLOB data passed to AS APIs should be at least 248-byte long. If a BLOB with a shorter length is passed, in certain situations this might result in a segmentation fault.