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ố

DSSProcessIDGiá trị do một trong các hàm NewPAdESDSSProcessFrom* trả về
SigContentsHashHexHash SHA-1 hex in hoa của các byte /Contents chữ ký, dùng làm khóa dictionary VRI
CertIdxCSVComma-separated 0-based indexes of staged DSS certificates to reference, or an empty string.
CRLIdxCSVComma-separated 0-based indexes of staged DSS CRLs to reference, or an empty string.
OCSPIdxCSVComma-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