AddSignProcessRevocationCRL

Security and signatures

Requires the Enterprise edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibEnterprise (unit PDFlibEnterprise); the Enterprise DLL and ActiveX builds provide it unchanged; other editions keep the method, which returns 0, an empty string or False and sets LastErrorCode to 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)

Description

Adds a DER-encoded X.509 certificate revocation list to the adbe-revocationInfoArchival signed attribute of a PDF signing process

Syntax

Delphi

Function TPDFlib.AddSignProcessRevocationCRL(SignProcessID: Integer; Const CRLDER: AnsiString): Integer; Virtual;

ActiveX

Function PDFlib::AddSignProcessRevocationCRL(SignProcessID As Long, CRLDER As Variant) As Long

DLL

int DLAddSignProcessRevocationCRL(int InstanceID, int SignProcessID, const char* CRLDER, int CRLLength);

Parameters

SignProcessIDValue returned by a NewSignProcessFrom* function
CRLDEROne complete DER SEQUENCE containing an X.509 CRL

Return values

1The CRL was accepted or was already present
0The process id, DER encoding, or aggregate size was invalid

Remarks

Duplicate byte-identical CRLs are stored once, and combined revocation material is limited to 24 MiB per process

The attribute is emitted only when the final SubFilter is adbe.pkcs7.detached; PAdES workflows should use a Document Security Store instead

The default native non-Windows PFX provider preserves this signed attribute with compatible RSA, RSA-PSS and ECDSA identities; authenticating embedded response bytes does not establish their trust, freshness or applicability

See Native CMS signed attributes for native processing limits

See also

AddSignProcessRevocationOCSP, ClearSignProcessRevocationInfo, AddPAdESDSSCRL