methodTstCustomCertificateManager.GetCertificate
function GetCertificate(const aIdentifier: OctetString): iCertificate; overload;
Look up an end-entity or CA certificate by identifier (typically a subject key identifier or issuer-and-serial). Applies the manager's revocation and policy filters, so a certificate that is expired, revoked or otherwise disallowed is reported as nil; use this when you want only certificates the manager currently considers usable. Searches all enabled indexes.
function GetCertificate(const aIndexName : string; const aIdentifier: OctetString) : iCertificate; overload;
Overload that restricts the lookup to a single named index (e.g. one of RootIndexName/MyIndexName), rather than scanning every enabled index. Use when you know which store the certificate lives in and want to disambiguate.