AddSignProcessRevocationOCSP
Bảo mật và chữ ký
Mô tả
Thêm một phản hồi OCSP mã hóa DER vào attribute có ký adbe-revocationInfoArchival của một quy trình ký PDF
Cú pháp
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);
Tham số
| SignProcessID | Giá trị được trả về bởi một hàm NewSignProcessFrom* |
|---|---|
| OCSPDER | A complete successful OCSPResponse or a BasicOCSPResponse DER SEQUENCE |
Giá trị trả về
| 1 | Phản hồi đã được chấp nhận hoặc đã có sẵn |
|---|---|
| 0 | Process id, trạng thái phản hồi, encoding DER hoặc kích thước gộp không hợp lệ |
Ghi chú
Một BasicOCSPResponse trần được bọc thành một OCSPResponse thành công với response type id-pkix-ocsp-basicCác phản hồi đã chuẩn hóa trùng nhau chỉ lưu một lần, và attribute chỉ được phát cho
adbe.pkcs7.detached
Xem thêm
AddSignProcessRevocationCRL, ClearSignProcessRevocationInfo, AddPAdESDSSOCSP