public abstract class AbstractSecurityHandler extends Object implements ISecurityHandler
ISecurityHandler.| Modifier and Type | Method and Description |
|---|---|
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. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticate, getCryptKeydecrypt, encryptpublic 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.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.