TPDFlibOCSPRequestBuild
Data types, digital signatures
Description
Encodes an RFC 6960 OCSP status request for one certificate. This callback is a plain function type and is not bound to a method.
TPDFlib declares the public methods and a protected dispatch method for encoding an OCSP status request. The edition class supplies the implementation as a callback of this type. A plain TPDFlib instance supplies none, so the call returns the documented empty result and sets LastErrorCode to PDFLIB_ERROR_SMALLBUSINESS_REQUIRED. Application code never declares, assigns or calls a value of this type.
Syntax
Delphi
TPDFlibOCSPRequestBuild = Function(Const SubjectCertDER, IssuerCertDER: AnsiString): AnsiString;Parameters
| SubjectCertDER | The certificate whose status is being asked about, DER encoded |
|---|---|
| IssuerCertDER | The certificate that issued it, DER encoded |
Return values
| T | |
| Empty string | Either certificate could not be read, or the two do not belong together |