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

AAL2MigratePKBlobEx

  • 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 AAL2MigratePKBlobEx (
                               aat_ascii*      PKBlob,
                               TKernelParms*   CallParms,
                               aat_int32       DeriveVector,
                               aat_int32       StorageDeriveKey1,
                               aat_int32       StorageDeriveKey2,
                               aat_int32       StorageDeriveKey3,
                               aat_int32       StorageDeriveKey4,
                               aat_int32       StorageDeriveKey5,
                               aat_int32       StorageDeriveKey6,
                               aat_int32       StorageDeriveKey7,
                               aat_int32       StorageDeriveKey8);

Description

This function is used to migrate software protection keys for a given payload key BLOB. Migrating the protection keys for a given payload key BLOB does not change the payload key, but only the keys used to protect the BLOB.

There are two ways to derive this default Authentication Suite Server SDK database protection key with kernel parameters:

  • Using the derive vector (DeriveVector).
  • Using the eight storage derive keys (StorageDeriveKey1, StorageDeriveKey2, StorageDeriveKey3, StorageDeriveKey4, StorageDeriveKey5, StorageDeriveKey6, StorageDeriveKey7, StorageDeriveKey8).

The payload key BLOB software protection key migration is only applicable to hardware and software Digipass compliant with the Secure Channel protocol.

Parameters

  Table: Parameters (AAL2MigratePKBlob)
TypeNameUseDescription
aat_ascii *PKBlobI/O88+1 characters string, null-terminated. Contains the payload key BLOB to migrate from existing software protection keys to new ones.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. (Contains the old values of the derive vector and storage derive keys that may have been used initially to software encrypt the payload keyBLOB.)
aat_int32 *DeriveVectorINew derive vector to use for payload key BLOB encryption. Values range from 0x00 to 0x7FFFFFFF.
aat_int32 *StorageDerive Key1 INew storage derivation key part 1 to use for payload key BLOB encryption. Values range from 0x00 to 0xFFFFFFFF.
aat_int32 *StorageDerive Key2I

New storage derivation key part 2 to use payload key BLOB encryption. Values range from 0x00 to 0xFFFFFFFF.

aat_int32 *StorageDerive Key3INew storage derivation key part 3 to use for payload key BLOB encryption. Values range from 0x00 to 0xFFFFFFFF.
aat_int32 *StorageDerive Key4INew storage derivation key part 4 to use for payload key BLOB encryption. Values range from 0x00 to 0xFFFFFFFF.
aat_int32 *StorageDerive Key5INew storage derivation key part 5 to use for payload key BLOB encryption. Values range from 0x00 to 0xFFFFFFFF.
aat_int32 *StorageDerive Key6INew storage derivation key part 6 to use for payload key BLOB encryption. Values range from 0x00 to 0xFFFFFFFF.
aat_int32 *StorageDerive Key7INew storage derivation key part 7 to use for payload key BLOB encryption. Values range from 0x00 to 0xFFFFFFFF.
aat_int32 *StorageDerive Key8INew storage derivation key part 8 to use for payload key BLOB encryption. Values range from 0x00 to 0xFFFFFFFF.

Return codes

  Table: Return codes (AAL2MigratePKBlob)
CodeMeaningCodeMeaning
0Success1119Unsupported payload key BLOB
412Invalid checksum1286Invalid payload key pointer
413Invalid Base64 format-1501Memory allocation failed
1100Function not supported  

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