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 | Μια πλήρης επιτυχής OCSPResponse ή μια DER SEQUENCE BasicOCSPResponse |
Τιμές επιστροφής
| 1 | Η απάντηση έγινε δεκτή ή υπήρχε ήδη |
|---|---|
| 0 | Το process id, η κατάσταση απάντησης, η κωδικοποίηση 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