| java.lang.Object de.intarsys.pdf.crypt.AbstractCryptHandler de.intarsys.pdf.crypt.StandardCryptHandler
All known Subclasses: de.intarsys.pdf.crypt.AESCryptHandler, de.intarsys.pdf.crypt.ArcFourCryptHandler,
StandardCryptHandler | abstract public class StandardCryptHandler extends AbstractCryptHandler (Code) | | An abstract superclass for the default implementation of
ICryptHandler . The concrete implementations provide the standard RC4
and AES algorithms.
|
Method Summary | |
abstract protected byte[] | basicDecrypt(byte[] data, byte[] encryptionKey, int objectNum, int genNum) | abstract protected byte[] | basicEncrypt(byte[] data, byte[] encryptionKey, int objectNum, int genNum) | public byte[] | decrypt(COSObjectKey objectKey, byte[] bytes) | public byte[] | encrypt(COSObjectKey objectKey, byte[] bytes) | protected byte[] | getCryptKey() | public void | init(byte[] pCryptKey) | protected void | updateHash(byte[] encryptionKey, int objectNum, int genNum) |
cipher | protected Cipher cipher(Code) | | The cipher object to be used in encrypting/decrypting
|
length | protected int length(Code) | | |
md | protected MessageDigest md(Code) | | The message digest used throughout the encryption/decryption
|
StandardCryptHandler | public StandardCryptHandler()(Code) | | |
basicDecrypt | abstract protected byte[] basicDecrypt(byte[] data, byte[] encryptionKey, int objectNum, int genNum) throws COSSecurityException(Code) | | |
basicEncrypt | abstract protected byte[] basicEncrypt(byte[] data, byte[] encryptionKey, int objectNum, int genNum) throws COSSecurityException(Code) | | |
getCryptKey | protected byte[] getCryptKey()(Code) | | |
updateHash | protected void updateHash(byte[] encryptionKey, int objectNum, int genNum)(Code) | | |
|
|