TPDFlibOCSPStore

Data types, security and signatures

Description

Files one OCSP response in a Document Security Store for AddPAdESDSSOCSPFromCertificates.

TPDFlib declares the public methods and a protected dispatch method for filing an obtained OCSP response in the document security store. 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_ENTERPRISE_REQUIRED. Application code never declares, assigns or calls a value of this type.

Syntax

Delphi

TPDFlibOCSPStore = Function(DSSProcessID: Integer; Const OCSPDER: AnsiString): Integer Of Object;

Parameters

DSSProcessIDIdentifier returned by one of the NewPAdESDSSProcess methods
OCSPDERDER-encoded OCSPResponse bytes

Return values

1The response was added to the document security store
0The process identifier or the response was invalid

See also

TPDFlibOCSPFetch, TPDFlibDSSMaterialStore, AddPAdESDSSOCSPFromCertificates