Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertyTsmOcsp.TrustedCertificates

property TrustedCertificates: TsmCustomX509TrustedCertificates read FTrustedCertificates write SetTrustedCertificates;
TrustedCertificates is the store from which FindIssuer resolves the issuing CA of the certificate under test (via FindCACert). It is mandatory: FindIssuer returns False when it is unassigned or not a TsmX509TrustedCertificates, which makes CheckCertificate report csError. A delegated OCSP responder does not need to be present here - it travels inside the OCSP response and is trusted transitively via the issuer (signature + id-kp-OCSPSigning), per TstAbstractOcsp. An application sets this to the same CA store it already trusts for chain validation before calling CheckCertificate; the store is used the same way whether TsmOcsp is driven directly to vet a peer certificate (either TLS role - TsmCustomTLSInternalServer.DoCheckOcsp calls CheckCertificate on whoever is on the other end of the connection) or assigned to a TLS server's Ocsp property so the server can staple a live OCSP response for its OWN leaf certificate (TsmCustomTLSInternalServer.DoFetchOcspStaple) - in the latter case it must hold the server's own issuing CA.