AddSignProcessRevocationOCSP
Bezpečnosť a podpisy
Opis
Adds a DER-encoded OCSP response to the adbe-revocationInfoArchival signed attribute of a PDF signing process
Syntax
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);
Parametre
| SignProcessID | Value returned by a NewSignProcessFrom* function |
|---|---|
| OCSPDER | A complete successful OCSPResponse or a BasicOCSPResponse DER SEQUENCE |
Návratové hodnoty
| 1 | The response was accepted or was already present |
|---|---|
| 0 | The process id, response status, DER encoding, or aggregate size was invalid |
Poznámky
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
Pozri tiež
AddSignProcessRevocationCRL, ClearSignProcessRevocationInfo, AddPAdESDSSOCSP