数字签名

Contents
[ ]

Aspose.Cells for Reporting Services 导出Microsoft Excel 2007文件或ODS文件时支持数字签名。我们有一些数字签名的配置信息,可以在Aspose.Cells.ReportingServices.xml文件。

当 DigitalSignature 的值为离开Aspose.Cells for Reporting Services 关闭数字签名。

 <DigitalSignature value="off">

<report name="" pfxFilename="" pfxPwd="" purpose=""/>

</DigitalSignature>

当 DigitalSignature 的值为Aspose.Cells for Reporting Services 打开数字签名。

 <DigitalSignature value="on">

DigitalSignature 部分有四个参数。这些都是:

  • 姓名:代表需要数字签名的报告。当该参数留空时,报告使用 PFX 文件进行数字签名。
  • pfx文件名指的是 PFX 文件。文件名应该是完全限定的文件名,包括路径和文件扩展名。不能为空。
  • pfx密码:设置密码。不能为空。
  • 目的签名的描述。可以为空。
 <DigitalSignature value="on">

<report name="TestReport" pfxFilename="c:\MyKey.pfx" pfxPwd="tryto" purpose="test digital signature"/>

<report name="" pfxFilename="c:\MyKey.pfx" pfxPwd="tryto" purpose="test digital signature"/>

</DigitalSignature>