AddPAdESDSSOCSP

Security and Signatures

Description

Stages a single DER-encoded OCSP response (RFC 6960) for inclusion in the DSS /OCSPs array. Encode as the full OCSPResponse ASN.1 type, not the inner BasicOCSPResponse.

Syntax

Delphi

function TPDFlib.AddPAdESDSSOCSP(DSSProcessID: Integer; Const OCSPDER: AnsiString): Integer;

Parameters

DSSProcessIDValue returned by one of the NewPAdESDSSProcessFrom* functions.
OCSPDERDER-encoded OCSPResponse bytes.