AddSignProcessRevocationOCSP
Sicherheit und Signaturen
Beschreibung
Fügt dem signierten Attribut adbe-revocationInfoArchival eines PDF-Signaturprozesses eine DER-codierte OCSP-Antwort hinzu
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);
Parameter
| SignProcessID | Von einer NewSignProcessFrom*-Funktion zurückgegebener Wert |
|---|---|
| OCSPDER | Eine vollständige erfolgreiche OCSPResponse oder eine DER SEQUENCE vom Typ BasicOCSPResponse |
Rückgabewerte
| 1 | Die Antwort wurde übernommen oder war bereits vorhanden |
|---|---|
| 0 | Die Prozess-ID, der Antwortstatus, die DER-Codierung oder die Gesamtgröße war ungültig |
Anmerkungen
Eine bloße BasicOCSPResponse wird als erfolgreiche OCSPResponse mit dem Antworttyp id-pkix-ocsp-basic umschlossen
Doppelte normalisierte Antworten werden einmal gespeichert; das Attribut wird nur für adbe.pkcs7.detached ausgegeben
Siehe auch
AddSignProcessRevocationCRL, ClearSignProcessRevocationInfo, AddPAdESDSSOCSP