Class StandardSecurityHandler
- Namespace
- iText.Kernel.Crypto.Securityhandler
- Assembly
- itext.kernel.dll
public abstract class StandardSecurityHandler : SecurityHandler
- Inheritance
-
StandardSecurityHandler
- Derived
- Inherited Members
Constructors
StandardSecurityHandler()
protected StandardSecurityHandler()
Fields
PERMS_MASK_1_FOR_REVISION_2
protected const int PERMS_MASK_1_FOR_REVISION_2 = -64
Field Value
PERMS_MASK_1_FOR_REVISION_3_OR_GREATER
protected const int PERMS_MASK_1_FOR_REVISION_3_OR_GREATER = -3904
Field Value
PERMS_MASK_2
protected const int PERMS_MASK_2 = -4
Field Value
permissions
protected long permissions
Field Value
usedOwnerPassword
protected bool usedOwnerPassword
Field Value
Methods
EqualsArray(byte[], byte[], int)
protected static bool EqualsArray(byte[] ar1, byte[] ar2, int size)
Parameters
Returns
GenerateOwnerPasswordIfNullOrEmpty(byte[])
protected virtual byte[] GenerateOwnerPasswordIfNullOrEmpty(byte[] ownerPassword)
Parameters
ownerPassword
byte[]
Returns
- byte[]
GetIsoBytes(PdfString)
Gets bytes of String-value without considering encoding.
protected virtual byte[] GetIsoBytes(PdfString @string)
Parameters
Returns
- byte[]
byte array
GetPermissions()
public virtual long GetPermissions()
Returns
IsUsedOwnerPassword()
public virtual bool IsUsedOwnerPassword()
Returns
SetStandardHandlerDicEntries(PdfDictionary, byte[], byte[])
protected virtual void SetStandardHandlerDicEntries(PdfDictionary encryptionDictionary, byte[] userKey, byte[] ownerKey)
Parameters
encryptionDictionary
PdfDictionaryuserKey
byte[]ownerKey
byte[]