AddPAdESDSSVRI
Bảo mật và chữ ký
Mô tả
Thêm một mục Validation Related Information cho từng chữ ký vào quy trình DSS đang được dựng
Cú pháp
Delphi
Function TPDFlib.AddPAdESDSSVRI(DSSProcessID: Integer; Const SigContentsHashHex, CertIdxCSV, CRLIdxCSV, OCSPIdxCSV: AnsiString): Integer;
Tham số
| DSSProcessID | Giá trị do một trong các hàm NewPAdESDSSProcessFrom* trả về |
|---|---|
| SigContentsHashHex | Hash SHA-1 hex in hoa của các byte /Contents chữ ký, dùng làm khóa dictionary VRI |
| CertIdxCSV | Comma-separated 0-based indexes of staged DSS certificates to reference, or an empty string. |
| CRLIdxCSV | Comma-separated 0-based indexes of staged DSS CRLs to reference, or an empty string. |
| OCSPIdxCSV | Comma-separated 0-based indexes of staged DSS OCSP responses to reference, or an empty string. |
Giá trị trả về
Trả về 1 khi quy trình DSS tồn tại và mục VRI đã được staged; trả về 0 nếu process id không hợp lệ
Xem thêm
NewPAdESDSSProcessFromFile, AddPAdESDSSCertificate, AddPAdESDSSCRL, AddPAdESDSSOCSP