AddPAdESDSSVRI

Security and Signatures

Description

Adds a per-signature Validation Related Information entry to the DSS process being assembled.

Syntax

Delphi

Function AddPAdESDSSVRI(DSSProcessID: Integer; Const SigContentsHashHex, CertIdxCSV, CRLIdxCSV, OCSPIdxCSV: AnsiString): Integer;

Parameters

DSSProcessIDValue returned by one of the NewPAdESDSSProcessFrom* functions.
SigContentsHashHexUppercase hex SHA-1 hash of the signature /Contents bytes used as the VRI dictionary key.
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.

Returns

Returns 1 when the DSS process exists and the VRI entry is staged; returns 0 for an invalid process id.

See also

NewPAdESDSSProcessFromFile, AddPAdESDSSCertificate, AddPAdESDSSCRL, AddPAdESDSSOCSP