RasterImage.EmbedDigitalSignature
RasterImage.EmbedDigitalSignature method
使用隐写技术将基于提供的密码的数字签名嵌入图像中。
public virtual void EmbedDigitalSignature(string password)
| 参数 | 类型 | 描述 |
|---|---|---|
| password | String | 用于生成数字签名数据的密码 |
示例
示例展示了如何根据提供的密码将数字签名嵌入图像像素数据中。
[C#]
var imageFilePath = "ball.png";
var password = "veryStr0ngPassword";
using (var image = Image.Load(imageFilePath))
{
image.EmbedDigitalSignature(password);
image.Save(outputPath);
}
另请参见
- class RasterImage
- namespace Aspose.Imaging
- assembly Aspose.Imaging