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

AAL2GenMigrateBlobCmd

  • 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 AAL2GenMigrateBlobCmd(
                                aat_byte           *Cmd,
                                aat_int32          *CmdSize,
                                TDigipassBlob      *DPData,
                                TKernelParms       *CallParms);

Description

This function creates a command which directs the HSM to migrate the authenticator application BLOB using the given data and to return a result in the form of a reply.

This authenticator application BLOB migration function can be used to:

  • Convert a software-encrypted BLOB into an HSM storage key encrypted BLOB (i.e. software-encrypted > HSM-encrypted) ready to be stored in the database.
  • Migrate an HSM storage key encrypted BLOB to another HSM storage key encrypted BLOB (i.e. HSM storage key 1 > HSM storage key 2).

To migrate from one HSM storage key to another, the old HSM storage key name must be placed in the parameter CallParms > TransportKeyId, and the new HSM storage key name needs to be placed into the CallParms > StorageKeyId parameter before calling AAL2GenMigrateBlobCmd.

This function must be used with the post-HSM API AAL2ProcMigrateBlobRpl().

You can acquire a software encrypted BLOB using the Digipass Data Import Service of Authentication Suite Server SDK for HSM. This will extract a BLOB but not migrate it. For more information on this service, refer to the Authentication Suite Server SDK for HSM Product Guide.

OneSpan recommends using the new function AAL2GenMigrateBlobCmdEx rather than AAL2GenMigrateBlobCmd.

Parameters

  Table: Parameters (AAL2GenMigrateBlobCmd)
TypeNameUseDescription
aat_byte *CmdO

Up to 282 bytes that serialize the MIGRATE BLOB command type and the input data to the migrate BLOB function on the HSM:

  • Command type - 2 bytes
  • An authenticator application BLOB - 192 bytes
  • Runtime parameters - 80 bytes

Plus 8 bytes for Authentication Suite Server SDK internal use.

aat_int32 *CmdSizeI/O

On entry, this parameter contains the size of the Cmd buffer.On exit, this parameter contains the length of the Cmd message.

TDigipassBlob *DPDataIauthenticator application BLOB.
TKernelParms *CallParmsI

Structure of runtime parameters to use during this function call.

Return codes

  Table: Return codes (AAL2GenMigrateBlobCmd)
CodeMeaningCodeMeaning
0Success590Invalid command pointer
149Invalid initial vector length706Invalid data buffer pointer
151Invalid KCV length1000Function does not support EMV-CAP
412Invalid checksum (software)1018Invalid TLV item pointer
413Invalid Base64 format1025Data buffer too small
510Invalid Digipass data 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