methodTstCustomKeyIndexSubjectClearTextName.NameToText
function NameToText(const aName: iRDNSequence): string; overload;
Renders a whole subject/DN into the "/CN=.../O=..." clear-text form, including every attribute. Applications can call this to produce a readable rendering of a certificate subject, or to construct the identifier string to search by.
function NameToText(const aName : iRDNSequence; const aAttrs: tAttrValueEnumSet) : string; overload;
As above but only emits the attributes in aAttrs. This is exactly how the index derives its identifier (using IndexedAttributes); pass the same set to build a matching lookup string.