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

AAL2ProcGenPayloadKeyBlobRpl

  • 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 AAL2ProcGenPayloadKeyBlobRpl(
                                       aat_byte        *InReply,
                                       aat_int32        ReplySize,
                                       TDigipassBlob   *DPMAData,
                                       aat_ascii       *PKBlob,
                                       aat_int32       *PKBlobLength);

Description

This function processes a reply from the HSM to a payload key BLOB generation command which has been generated with AAL2GenGenPayloadKeyBlobCmd.

The payload key BLOB 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.

Parameters

  Table: Parameters (AAL2ProcGenPayloadKeyBlobRpl)
TypeNameUseDescription
aat_byte *InReplyI

String of up to 86 bytes that contain the PAYLOAD KEY BLOB GENERATION command type and the output data from the payload key BLOB generation function on the HSM:

  • Command type - 2 bytes
  • Payload key BLOB - 72 bytes
  • Return code - 4 bytes

Plus 8 bytes for Authentication Suite Server SDK internal use.

aat_int32ReplySizeIThe length of the InReply message.
TDigipassBlobDPMADataO

Digipass master activation application BLOB of the Digipass serial number license that will be used for the activation. Upon return from the function call, this BLOB must be rewritten to the application database to reflect changes.

aat_ascii *PKBlobO

A string of 88+1 characters, null-terminated. It contains the generated payload key BLOB for a Digipass serial number license. Upon return from the function call, this BLOB must be rewritten to the application database to reflect changes.

aat_int32 *PKBlobLengthI/O

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

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

Return codes

  Table: Return codes (AAL2ProcGenPayloadKeyBlobRpl)
CodeMeaningCodeMeaning
0Success1118Unsupported BLOB
701Invalid input buffer pointer1262Payload key data buffer too small
910Invalid HSM command in reply1264Invalid master application
912HSM invalid BLOB status1265Invalid master application data pointer
913Invalid HSM key property1267Invalid message vector length
917Key type inconsistent1268Invalid message vector version
951Invalid HSM key type for HSM decryption1286Invalid payload key data pointer
1009Invalid TLV total length1287Invalid payload key data length pointer
1018Invalid TLV item pointer1310Invalid payload key type
1019Missing mandatory TLV item1316Secure Channel not supported
1025Data buffer too small  

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