AddPAdESDSSCRL
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
Stages a single DER-encoded Certificate Revocation List (RFC 5280) for inclusion in the DSS /CRLs array
Syntax
Delphi
Function TPDFlib.AddPAdESDSSCRL(DSSProcessID: Integer; Const CRLDER: AnsiString): Integer; Virtual;ActiveX
Function PDFlib::AddPAdESDSSCRL(DSSProcessID As Long, CRLDER As Variant) As LongDLL
int DLAddPAdESDSSCRL(int InstanceID, int DSSProcessID, const char* CRLDER, int CRLDERLength);
Parameters
| DSSProcessID | Value returned by one of the NewPAdESDSSProcessFrom* functions |
|---|---|
| CRLDER | DER-encoded CRL bytes |
Return values
1 when the CRL has been staged, or 0 when the process ID is invalid or the bytes are not one complete DER-encoded SEQUENCE (an empty string is rejected)