methodTstCustomCertificateManager.GetMPPrivateKey
function GetMPPrivateKey(const aIdentifier: OctetString): iMPPrivateKey; overload;
Return an iMPPrivateKey wrapper (tMPPrivateKeyIF or tMPPrivateKeyDL) that couples the stored private key with the iMPPublicKey found for aIdentifier in one object. Import routines here use it (via GetMPPrivateKey non-nil) simply to test whether we hold the private key for this certificate when deciding whether an imported cert is one of "my" certs. Returns nil if the certificate is not an iMPPublicKey or no matching private key is stored.
function GetMPPrivateKey(const aCert: iCertificate): iMPPrivateKey; overload;
As above, keyed by the certificate. ImportFromCMS/ImportFromPFXFile call this to classify each imported certificate: a non-nil result means the matching private key is present, so the cert belongs in the "My" store.