Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

FetchCRL

function FetchCRL(const aURL: string; aTimeout: Cardinal; out aCRL: iCertificateList): Boolean;
FetchCRL downloads a DER-encoded CRL from an http(s) URL (typically a cert's cRLDistributionPoints URI) and decodes it into an iCertificateList. It is stateless (no issuer store needed), so a caller can refresh a CRL without an OCSP client component. HTTPS uses the same GlobalServer-borrowed TLS client as the OCSP transport. Returns False (and leaves aCRL nil) on transport or decode failure; it does NOT verify the CRL signature/freshness - that is the trust store's job once the CRL is added.