Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCustomKeyFilterChain.FindCACertificate

function FindCACertificate(const aCert: iCertificate): iCertificate;
Returns the issuer (CA) certificate for aCert found among the KeyManager's keys (its trust anchors and any cached CA certificates), or aCert itself if it is self-issued (issuer name equals subject name), or nil if no matching signature-verified issuer is known here. An application uses this to build/display a certificate chain, or to locate the CA needed for a separate revocation (CRL/OCSP) lookup.