AddSignProcessRevocationOCSP
אבטחה וחתימות
תיאור
Adds a DER-encoded OCSP response to the adbe-revocationInfoArchival signed attribute of a PDF signing process
תחביר
Delphi
Function TPDFlib.AddSignProcessRevocationOCSP(SignProcessID: Integer; Const OCSPDER: AnsiString): Integer;
ActiveX
Function PDFlib::AddSignProcessRevocationOCSP(SignProcessID As Long, OCSPDER As Variant) As Long
DLL
int DLAddSignProcessRevocationOCSP(int InstanceID, int SignProcessID, const char* OCSPDER, int OCSPLength);
פרמטרים
| SignProcessID | Value returned by a NewSignProcessFrom* function |
|---|---|
| OCSPDER | רצף DER מלא ותקין של OCSPResponse או של BasicOCSPResponse |
ערכים מוחזרים
| 1 | התשובה התקבלה או שכבר הייתה קיימת |
|---|---|
| 0 | מזהה ה-process, מצב התשובה, קידוד ה-DER או הגודל המצטבר לא היו תקינים |
הערות
A bare BasicOCSPResponse is wrapped as a successful OCSPResponse with response type id-pkix-ocsp-basicDuplicate normalized responses are stored once, and the attribute is emitted only for
adbe.pkcs7.detached
ראה גם
AddSignProcessRevocationCRL, ClearSignProcessRevocationInfo, AddPAdESDSSOCSP