|
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)
ISecurityHandlerISecurityHandler with a STDocument.
The ISecurityHandler should add all its private information to
the document structure, in particular to the /Encrypt dictionary.
attach in interface ISecurityHandlerpublic COSDictionary cosGetEncryption()
public void detach(STDocument stDoc)
throws COSSecurityException
ISecurityHandlerISecurityHandler from STDocument.
The ISecurityHandler should remove all its private information
from the document structure, in particular from the /Encrypt dictionary.
detach in interface ISecurityHandlerCOSSecurityExceptionpublic COSEncryption getEncryption()
public void initialize(STDocument stDoc)
ISecurityHandlerISecurityHandler 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 ISecurityHandlerpublic STDocument stGetDoc()
ISecurityHandlerSTDocument.
stGetDoc in interface ISecurityHandlerSTDocument.
|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||