AddSignProcessRevocationOCSP
Seguridad y firmas
Descripción
Añade una respuesta OCSP codificada en DER al atributo firmado adbe-revocationInfoArchival de un proceso de firma PDF
Sintaxis
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);
Parámetros
| SignProcessID | Valor devuelto por una función NewSignProcessFrom* |
|---|---|
| OCSPDER | Una SEQUENCE DER OCSPResponse correcta y completa o una BasicOCSPResponse |
Valores devueltos
| 1 | La respuesta se aceptó o ya estaba presente |
|---|---|
| 0 | El identificador del proceso, el estado de respuesta, la codificación DER o el tamaño agregado no eran válidos |
Observaciones
Una BasicOCSPResponse simple se envuelve como OCSPResponse correcta con el tipo de respuesta id-pkix-ocsp-basic
Las respuestas normalizadas duplicadas se almacenan una sola vez y el atributo solo se emite para adbe.pkcs7.detached
Véase también
AddSignProcessRevocationCRL, ClearSignProcessRevocationInfo, AddPAdESDSSOCSP