| java.lang.Object com.lowagie.text.pdf.PdfEncryption
PdfEncryption | public class PdfEncryption (Code) | | author: Paulo Soares (psoares@consiste.pt) author: Kazuya Ujihara |
Method Summary | |
public void | addRecipient(Certificate cert, int permission) | public int | calculateStreamSize(int n) | public byte[] | computeUserPassword(byte[] ownerPassword) | public static byte[] | createDocumentId() | public static PdfObject | createInfoId(byte id) | public byte[] | decryptByteArray(byte[] b) | public byte[] | encryptByteArray(byte[] b) | public int | getCryptoMode() | public StandardDecryption | getDecryptor() | public PdfDictionary | getEncryptionDictionary() | public OutputStreamEncryption | getEncryptionStream(OutputStream os) | public PdfObject | getFileID() | public boolean | isMetadataEncrypted() | public void | setCryptoMode(int mode, int kl) | public void | setHashKey(int number, int generation) | public void | setupAllKeys(byte userPassword, byte ownerPassword, int permissions) | public void | setupByEncryptionKey(byte[] key, int keylength) | public void | setupByOwnerPassword(byte[] documentID, byte ownerPassword, byte userKey, byte ownerKey, int permissions) | public void | setupByUserPassword(byte[] documentID, byte userPassword, byte ownerKey, int permissions) |
AES_128 | final public static int AES_128(Code) | | |
STANDARD_ENCRYPTION_128 | final public static int STANDARD_ENCRYPTION_128(Code) | | |
STANDARD_ENCRYPTION_40 | final public static int STANDARD_ENCRYPTION_40(Code) | | |
documentID | byte documentID(Code) | | |
extra | byte extra(Code) | | Work area to prepare the object/generation bytes
|
key | byte key(Code) | | The encryption key for a particular object/generation
|
keySize | int keySize(Code) | | The encryption key length for a particular object/generation
|
mkey | byte mkey(Code) | | The global encryption key
|
ownerKey | byte ownerKey(Code) | | The encryption key for the owner
|
permissions | int permissions(Code) | | |
userKey | byte userKey(Code) | | The encryption key for the user
|
PdfEncryption | public PdfEncryption()(Code) | | |
calculateStreamSize | public int calculateStreamSize(int n)(Code) | | |
computeUserPassword | public byte[] computeUserPassword(byte[] ownerPassword)(Code) | | |
createDocumentId | public static byte[] createDocumentId()(Code) | | |
decryptByteArray | public byte[] decryptByteArray(byte[] b)(Code) | | |
encryptByteArray | public byte[] encryptByteArray(byte[] b)(Code) | | |
getCryptoMode | public int getCryptoMode()(Code) | | |
isMetadataEncrypted | public boolean isMetadataEncrypted()(Code) | | |
setCryptoMode | public void setCryptoMode(int mode, int kl)(Code) | | |
setHashKey | public void setHashKey(int number, int generation)(Code) | | |
setupAllKeys | public void setupAllKeys(byte userPassword, byte ownerPassword, int permissions)(Code) | | |
setupByEncryptionKey | public void setupByEncryptionKey(byte[] key, int keylength)(Code) | | |
setupByOwnerPassword | public void setupByOwnerPassword(byte[] documentID, byte ownerPassword, byte userKey, byte ownerKey, int permissions)(Code) | | |
setupByUserPassword | public void setupByUserPassword(byte[] documentID, byte userPassword, byte ownerKey, int permissions)(Code) | | |
|
|