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