SelectPFXMacLegacy
procedure SelectPFXMacLegacy;
Selects the PKCS#12 integrity-MAC scheme used by tMacData.Generate / tPFX.ImposeAuthSafeContent. The default is the traditional PKCS#12 MAC (SHA-based KDF id 3). SelectPFXMacPBMAC1 switches to RFC 9879 PBMAC1, whose MAC key is derived with PBKDF2-HMAC (aHash) and whose MAC is HMAC-aHash over the authSafe; the password is taken as UTF-8 (the iDualSecretKey Key2, or the raw key when not dual). Verify auto-detects PBMAC1 from the id-PBMAC1 OID regardless of this switch. Process-wide, mirroring SelectPBES2Scrypt.