- 22 Jan 2025
- 3 Minutes à lire
- SombreLumière
- PDF
AAL2MigratePKBlobICSFEx
- Mis à jour le 22 Jan 2025
- 3 Minutes à lire
- SombreLumière
- PDF
Function prototype
aat_int32 AAL2MigratePKBlobICSFEx (
aat_ascii* PKBlob,
TKernelParms* CallParms,
aat_ascii* aOldStorageKeyName,
aat_ascii* aOldInitialVector,
aat_ascii* aNewStorageKeyName,
aat_ascii* aNewInitialVector,
aat_ascii* aTransportKeyKCV);
Description
This function is used to migrate HSM 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.
It is only applicable to hardware or software Digipass compliant with the secure channel protocol; for more information, refer to the OneSpan Authentication Suite Server SDK Product Guide).
The BLOB migration function can be used to:
- Convert a payload key BLOB encrypted with a software storage key to a payload key BLOB encrypted with an HSM storage key
(i.e. software → HSM-encrypted) payload key BLOB ready to be stored in the database.
This is not applicable in case of a payload key BLOB directly generated from Authentication Suite Server SDK for ICSF.
- Migrate an HSM storage key encrypted payload key BLOB to a new HSM storage key encrypted payload key BLOB
(i.e. HSM storage key 1 → HSM storage key 2).
- Migrate an HSM transport key encrypted payload key BLOB to an storage key encrypted payload key BLOB
(i.e. HSM transport key → HSM storage key).
Parameters
COBOL calling convention
Entry point: AA2MPBIE
02 W-PKBLOB PIC X(89).
02 W-KERNELPARMS.
03 W-PARMCOUNT PIC 9(8) USAGE BINARY.
03 W-PARM01 PIC 9(8) USAGE BINARY.
. . .
03 W-PARM19 PIC 9(8) USAGE BINARY.
02 W-RETURN PIC S9(8) USAGE BINARY.
02 W-OLDSTORAGEKEY PIC X(65).
02 W-OLDINITVECTOR PIC X(17).
02 W-NEWSTORAGEKEY PIC X(65).
02 W-NEWINITVECTOR PIC X(17).
02 W-TRANSPORTKEYKCV PIC X(7).
02 W-API-NAME PIC X(8) VALUE 'AA2MPBIE'.
. . .
CALL W-API-NAME USING
BY REFERENCE W-PKBLOB
BY REFERENCE W-KERNELPARMS
BY REFERENCE W-OLDSTORAGEKEY
BY REFERENCE W-OLDINITVECTOR
BY REFERENCE W-NEWSTORAGEKEY
BY REFERENCE W-NEWINITVECTOR
BY REFERENCE W-TRANSPORTKEYKCV
RETURNING W-RETURN