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

AAL2GenMessageDeactivation

  • 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 AAL2GenMessageDeactivation (
                                   aat_ascii    *PKBlob,
                                   TKernelParms *CallParms,
                                   aat_ascii    *MessageVector,
                                   aat_int32    *SeqNum,
                                   aat_ascii    *DeactivationMessage,
                                   aat_ascii    *DeactivationMessageLength);

Description

This function generates a deactivation message from a sequence number, using the payload key embedded into the payload key BLOB.

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 the one corresponding to the Digipass serial number the deactivation message will target.

The deactivation message generation is only applicable if the Secure Channel feature has been ordered (configured by OneSpan at the time of order).

Parameters

  Table: Parameters (AAL2GenMessageDeactivation)
TypeNameUseDescription
aat_ascii *PKBlobIContains the payload key BLOB that has been generated for the Digipass instances activated with a particular serial number license.
TKernelParms *CallParmsIStructure of runtime parameters to use during this function call.
aat_ascii *MessageVectorI

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

aat_int32SeqNumI

Integer containing the sequence number of the Digipass instance to deactivate.

aat_ascii *DeactivationMessageOString of up to 50+1 hexadecimal characters, null-terminated. In case of a successful operation, this parameter contains the generated deactivation message.
aat_int32 *DeactivationMessageLengthI/O

In input, this parameter must indicate the size of the allocated buffer for the DeactivationMessage parameter (recommended 51 bytes).

In output, this parameter indicates the length of the DeactivationMessage string (without the null-terminated character).

Return codes

  Table: Return codes (AAL2GenMessageDeactivation)
CodeMeaningCodeMeaning
0Success1286Invalid payload key pointer
412Invalid checksum1288Invalid serial number prefix
413Invalid Base64 format1289Invalid serial number suffix
1118Unsupported BLOB1293Invalid sequence number pointer
1119Unsupported payload key BLOB1302AES CTR encryption failed
1266Invalid message vector pointer1307Invalid deactivation message pointer
1267Invalid message vector length1308Invalid deactivation message length pointer
1268Invalid message vector version1333Deactivation not supported
1274Invalid message protocol version1335Invalid payload key type in payload key data
1275Invalid message protection type1336Inconsistent payload key type between payload key data and message vector
1285Master key derivation failed  

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