RasterCachedImage.EmbedDigitalSignature
RasterCachedImage.EmbedDigitalSignature method
Embed digital sign based on provided password into the image using steganography.
public override void EmbedDigitalSignature(string password)
| Parameter | Type | Description |
|---|---|---|
| password | String | The password used for generate digital sign data |
Exceptions
| exception | condition |
|---|---|
| ImageException | Thrown in any processing issues. |
Examples
The example shows how to embed digital signature based on provided password into image pixel data.
[C#]
var imageFilePath = "ball.png";
var password = "veryStr0ngPassword";
using (var image = Image.Load(imageFilePath))
{
image.EmbedDigitalSignature(password);
image.Save(outputPath);
}
See Also
- class RasterCachedImage
- namespace Aspose.Imaging
- assembly Aspose.Imaging