AddCRL
Security and signatures
Requires the Enterprise edition — a method of TPDFlibDSSProcess in the Enterprise unit PDFlibEntSignVerify
Description
Adds one DER-encoded certificate revocation list to the CRLs array of the process; Execute writes the array as the /CRLs entries of the /DSS dictionary.
The procedure appends the value it receives and nothing else: CRLDER is neither parsed nor validated, and an empty string is appended as well.
Requires the Enterprise edition; the method belongs to TPDFlibDSSProcess in unit PDFlibEntSignVerify.
Syntax
Delphi
Procedure TPDFlibDSSProcess.AddCRL(Const CRLDER: AnsiString);Parameters
| CRLDER | The complete DER bytes of one CRL, issued by the certification authority whose certificates it revokes |
|---|
Remarks
Call it any number of times before Execute; the order of the calls is the order of the /CRLs array and the base for the CRL indexes of a VRI entry added with AddVRIEntry.
Execute stores the string verbatim as the payload of a new stream object, so anything that is not the DER encoding of a CRL ends up as an unusable validation stream. The Enterprise class method AddPAdESDSSCRL, which calls this procedure, rejects data that is not a single DER SEQUENCE and returns 0 before the data gets here.
The procedure does not raise on any input.
See also
TPDFlibDSSProcess, AddCertificate, AddOCSP, AddVRIEntry, Execute, AddPAdESDSSCRL