Class SecurityManager
Implements Adobe's standard security handler. A security handler is a software module that implements various aspects of the encryption process.
Inheritance
Inherited Members
Namespace: Telerik.Pdf.Security
Assembly: TelerikData.dll
Syntax
public class SecurityManager
Constructors
SecurityManager(SecurityOptions, FileIdentifier)
Constructs a new standard security manager.
Declaration
public SecurityManager(SecurityOptions options, FileIdentifier fileId)
Parameters
SecurityOptions
options
The user supplied PDF options that provides access to the passwords and the access permissions. |
FileIdentifier
fileId
The PDF document's file identifier (see section 8.3 of PDF specification). |
Methods
Encrypt(Byte[], PdfObjectId)
Encrypts the passed byte array using the ARC4 cipher.
Declaration
public byte[] Encrypt(byte[] data, PdfObjectId objectId)
Parameters
System.Byte[]
data
|
PdfObjectId
objectId
|
Returns
System.Byte[]
|
GetEncrypt(PdfObjectId)
Declaration
public PdfDictionary GetEncrypt(PdfObjectId objectId)
Parameters
PdfObjectId
objectId
|
Returns
PdfDictionary
|