|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.crypt.AbstractSecurityHandler
public abstract class AbstractSecurityHandler
An abstract superclass for implementing ISecurityHandler
.
Method Summary | |
---|---|
void |
attach(STDocument stDoc)
Associate this ISecurityHandler with a STDocument . |
COSDictionary |
cosGetEncryption()
|
void |
detach(STDocument stDoc)
Disassociate this ISecurityHandler from STDocument . |
COSEncryption |
getEncryption()
|
void |
initialize(STDocument stDoc)
Initialize this ISecurityHandler with a STDocument . |
STDocument |
stGetDoc()
The associated STDocument . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.intarsys.pdf.crypt.ISecurityHandler |
---|
authenticate, getCryptKey |
Methods inherited from interface de.intarsys.pdf.crypt.ICryptHandler |
---|
decrypt, encrypt |
Method Detail |
---|
public void attach(STDocument stDoc)
ISecurityHandler
ISecurityHandler
with a STDocument
.
The ISecurityHandler
should add all its private information to
the document structure, in particular to the /Encrypt dictionary.
attach
in interface ISecurityHandler
public COSDictionary cosGetEncryption()
public void detach(STDocument stDoc) throws COSSecurityException
ISecurityHandler
ISecurityHandler
from STDocument
.
The ISecurityHandler
should remove all its private information
from the document structure, in particular from the /Encrypt dictionary.
detach
in interface ISecurityHandler
COSSecurityException
public COSEncryption getEncryption()
public void initialize(STDocument stDoc)
ISecurityHandler
ISecurityHandler
with a STDocument
.
The ISecurityHandler
should initialize its state from the
information in the document structure, in particular from the /Encrypt
dictionary.
initialize
in interface ISecurityHandler
public STDocument stGetDoc()
ISecurityHandler
STDocument
.
stGetDoc
in interface ISecurityHandler
STDocument
.
|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |