SignatureReport
SignatureReport
概述
SignatureReport 是 Aspose.PDF FOSS 中用于 TypeScript 的接口。
属性:chain、commitmentType、coversWholeFile、docMDP、integrity、modifications,以及另外 7 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
name | : string | 读取 | 签名字段名称(/T)。 |
integrity | `: ‘valid’ | ’tampered'` | 读取 |
signature | `: ‘valid’ | ‘invalid’` | 读取 |
coversWholeFile | : boolean | 读取 | 是否 /ByteRange 覆盖整个文件(没有后续增量修订)。 |
modifications | : Change[] | 读取 | 此签名之后追加的修订中添加或修改的对象。 |
chain | `: ’trusted' | ‘untrusted’ | ‘unchecked’` |
revocation | `: ‘good’ | ‘revoked’ | ‘unknown’ |
docMDP | `: ‘ok’ | ‘violated’ | ’n/a'` |
timestamp | : TimestampInfo | 读取 | RFC 3161 签名时间戳判定(时间 + 印记/TSA-签名检查),仅在签名携带 id-aa-timeStampToken 时出现。 |
signerCert | : CertInfo | 读取 | 签名者证书摘要(当 CMS 可解析时)。 |
commitmentType | : string | 读取 | CAdES commitment-type(友好名称或 OID),当签名携带它时。 |
signerLocation | : SignerLocation | 读取 | CAdES signer-location,当签名携带它时。 |
padesLevel | `: ‘B-B’ | ‘B-T’ | ‘B-LT’ |