AAL2GenGenMessageActivation2Cmd
  • 22 Jan 2025
  • 2 Minutes à lire
  • Sombre
    Lumière
  • PDF

AAL2GenGenMessageActivation2Cmd

  • 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 AAL2GenGenMessageActivation2Cmd(
                                         aat_byte        *Cmd,
                                         aat_int32       *CmdSize,
                                         TDigipassBlob   *DPMAData,
                                         aat_ascii       *PKBlob,
                                         TKernelParms    *CallParms,
                                         aat_ascii       *StorageKeyName,
                                         aat_ascii       *aStorageKeyNameIn,
                                         aat_ascii       *aIVIn,
                                         aat_ascii       *StaticVector,
                                         aat_ascii       *MessageVector,
                                         aat_ascii       *DeviceID);

Description

This function creates a command that directs the HSM to generate the Activation Message 2 and the Digipass instance using the given data, and to return a result in the form of a reply. This Activation Message 2 allows activating a Digipass instance of a license in the device.

It is only applicable to hardware or software Digipass authenticators compliant with the multi-device two-step activation (in the context of multi-device licensing). For more information, refer to the Authentication Suite Server SDK Product Guide.

The payload key BLOB must be used with this function only if the Secure Channel feature has been ordered (configured by OneSpan at the time of order). No payload key BLOB must be used (parameter NULL or empty string) if the Secure Channel feature has not been ordered.

The Activation Message 2 and Digipass instance generation on the HSM is identical to the functionality available with the Authentication Suite Server SDK Software Digipass Multi-Device Activation Service. For information on the associated functions, refer to the Authentication Suite Server SDK C-C++ Programmer's Guide.

This function must be used with the post-HSM API AAL2ProcGenMessageActivation2Rpl.

Parameters

  Table: Parameters (AAL2GenGenMessageActivation2Cmd)
TypeNameUseDescription
aat_byte *CmdO

Up to 4688 bytes that serialize theGENERATE ACTIVATION MESSAGE 2 command type and the input data to the generate Activation Message 2 function on the HSM:

  • Command type - 2 bytes
  • Digipass Master Activation application BLOB - 192 bytes
  • PayloadKey BLOB - 72 characters
  • Runtime parameters - 80 bytes
  • StorageKeyName - up to 128 characters
  • InitialVector - 8 bytes
  • StaticVector - up to 4094 characters
  • MessageVector - up to 27 characters
  • DeviceID - 8 characters
  • Host time - 4 bytes

Plus 36 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.

TDigipassBlobDPMADataI

Digipass master activation application BLOB of the Digipass serial number license that will be used for the activation.

aat_ascii *PKBlobI

Contains the payload key BLOB of the Digipass serial number to activate. Mandatory if the Secure Channel feature has been ordered. Must be NULL or an empty string if the Secure Channel feature has not been ordered.

TKernelParms *CallParmsI

Structure of runtime parameters to use during this function call.

aat_ascii *aStorageKeyNameInI

String of up to 128+1 characters, left-justified, null-terminated, or right-padded with spaces. This is the label of the HSM storage key used to encrypt the sensitive Digipass application BLOB data.

aat_ascii *aIVInI

String of 16 hexadecimal characters, left-justified, null-terminated, or right-padded with spaces. This is the initial vector used to encrypt the sensitive authenticator application BLOB data.

aat_ascii *StaticVectorI

Software Digipass parameter settings, up to 4094 characters, null-terminated.

aat_ascii *MessageVectorI

A string of up to 26+1 characters containing the message parameter settings, null-terminated (obtained during import).

aat_ascii *DeviceIDIHexadecimal string containing the device ID value of the Digipass device to bind with (8 hexadecimal characters), obtained after device code validation.

Return codes

  Table: Return codes (AAL2GenGenMessageActivation2Cmd)
CodeMeaningCodeMeaning
0Success1000Function does not support EMV-CAP
1Code not verified1018Invalid TLV item pointer
149Invalid initial vector length1025Buffer too small
207Deferred signature not allowed with OnLineSG not Null1119Unsupported payload key BLOB
412Invalid checksum (software)1265Invalid master application data pointer
413Invalid Base64 format1266Invalid message vector pointer
537Invalid static vector pointer1277Invalid device ID pointer
590Invalid command pointer1279Invalid device ID
706Invalid data buffer pointer1286Invalid payload key 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