multivalent.std.adaptor.pdf
public class CryptFilter extends FilterInputStream
Version: $Revision: 1.6 $ $Date: 2003/08/17 08:39:54 $
Field Summary | |
---|---|
static CryptFilter | IDENTITY |
Constructor Summary | |
---|---|
CryptFilter(CryptFilter cf, InputStream in, int objnum, int gennum)
Creates instance to use as a FilterInputStream,
which is only needed when the crypt filter is not the first filter,
which is rare. |
Method Summary | |
---|---|
void | close() |
byte[] | decrypt(byte[] buf, int off, int len) Decrypts directly using filter's security handler. |
void | decrypt(StringBuffer sb) Decrypts PDF string in sb. |
byte[] | encrypt(byte[] buf, int off, int len) Encrypts directly using filter's security handler. |
void | encrypt(StringBuffer sb) Encrypts PDF string in sb. |
boolean | markSupported() |
int | read(byte[] b, int off, int len) |
int | read() |
CryptFilter | reset(int objnum, int gennum) |
String | toString() |