ICustomSecurityHandler.Encrypt
ICustomSecurityHandler.Encrypt method
Encrypt the data array.
public byte[] Encrypt(byte[] data, int objectNumber, int generation, byte[] key)
Parameter | Type | Description |
---|---|---|
data | Byte[] | Data to encrypt. |
objectNumber | Int32 | Number of the object containing the encrypted data. |
generation | Int32 | Generation of the object. |
key | Byte[] | Key obtained by the CalculateEncryptionKey method |
Return Value
The encrypted data.
See Also
- interface ICustomSecurityHandler
- namespace Aspose.Pdf.Security
- assembly Aspose.PDF