KB 110015: Return code 413: Invalid Base 64 format9/28/2006 10:57:30 AM
When using Vacman Controller functions, the Vacman Controller returns 413: Invalid Base64 Format.
The pointer to the digipass BLOB is corrupt or the BLOB, when passed to the Vacman Controller, is corrupt.
A BLOB is an encrypted alphanumeric string of 248 characters which contains all information for one application of one digipass. The BLOB roughly consists of 4 parts:
1. Serial number (10 characters)
2. Application name (12 characters)
3. Reserved Flag (2 characters)
4. Base64 encoded data (224 characters)
The Vacman Controller checks if the last 224 characters contain valid Base64
characters. If any of these characters is not a valid Base64 character, return code 413
Valid Base64 characters are:
It is important to understand that the Vacman Controller itself does not access the
database. All database operations are handled by the implementation. The Vacman
controller limits itself to reading and updating the BLOB in memory.
It is possible that the BLOB is correctly stored in the database and that during
manipulations outside the Vacman Controller the memory space containing the BLOB
is overwritten with other data and thus corrupting the BLOB for the Vacman
In that case it is important to pinpoint the moment when the BLOB is corrupted.
There are 2 ways to this:
1. make an output of the BLOB before and after each operation
2. Make a read-only Vacman Controller call (e.g. AAL2GetTokenInfo) before and
after each operation
Applies to: Vacman Controller
KB110015.doc (1.0) – 28/09/2006 16:53
© 2006 VASCO Data Security. All rights reserved.