Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstOcspServer.ProcessRequest

function ProcessRequest(const aRequestDER: OctetString): OctetString; virtual;
ProcessRequest answers a DER OCSPRequest and returns a DER OCSPResponse. Expected error conditions are turned into OCSPResponse error statuses rather than exceptions: a parse failure yields malformedRequest, a CertID whose issuer hashes do not match the CA yields unauthorized, and a missing CertificateManager / CA certificate (or a failed signature) yields internalError.