public abstract class StandardSecurityHandler extends SecurityHandler
| Modifier and Type | Field and Description | 
|---|---|
| protected long | permissions | 
| protected static int | PERMS_MASK_1_FOR_REVISION_2 | 
| protected static int | PERMS_MASK_1_FOR_REVISION_3_OR_GREATER | 
| protected static int | PERMS_MASK_2 | 
| protected boolean | usedOwnerPassword | 
extra, md5, mkey, nextObjectKey, nextObjectKeySize| Constructor and Description | 
|---|
| StandardSecurityHandler() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static boolean | equalsArray(byte[] ar1, byte[] ar2, int size) | 
| protected byte[] | generateOwnerPasswordIfNullOrEmpty(byte[] ownerPassword) | 
| protected byte[] | getIsoBytes(PdfString string)
              Gets bytes of String-value without considering encoding. 
             | 
| long | getPermissions() | 
| boolean | isUsedOwnerPassword() | 
| protected void | setStandardHandlerDicEntries(PdfDictionary encryptionDictionary, byte[] userKey, byte[] ownerKey) | 
getDecryptor, getEncryptionStream, setHashKeyForNextObjectprotected static final int PERMS_MASK_1_FOR_REVISION_2
protected static final int PERMS_MASK_1_FOR_REVISION_3_OR_GREATER
protected static final int PERMS_MASK_2
protected long permissions
protected boolean usedOwnerPassword
public long getPermissions()
public boolean isUsedOwnerPassword()
protected void setStandardHandlerDicEntries(PdfDictionary encryptionDictionary, byte[] userKey, byte[] ownerKey)
protected byte[] generateOwnerPasswordIfNullOrEmpty(byte[] ownerPassword)
protected byte[] getIsoBytes(PdfString string)
string - 
           protected static boolean equalsArray(byte[] ar1,
                                     byte[] ar2,
                                     int size) Copyright © 1998–2019 iText Group NV. All rights reserved.