intarsys PDF library API

de.intarsys.pdf.crypt
Class AbstractSecurityHandler

java.lang.Object
  extended by de.intarsys.pdf.crypt.AbstractSecurityHandler
All Implemented Interfaces:
ICryptHandler, ISecurityHandler
Direct Known Subclasses:
StandardSecurityHandler

public abstract class AbstractSecurityHandler
extends Object
implements ISecurityHandler

An abstract superclass for implementing ISecurityHandler.

The "state" part is implemented in the associated COSEncryption object.


Constructor Summary
AbstractSecurityHandler()
           
 
Method Summary
 COSEncryption getEncryption()
           
 void init(STDocument document, COSEncryption pEncryption)
           
 
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, getAccessPermissions, getCryptKey
 
Methods inherited from interface de.intarsys.pdf.crypt.ICryptHandler
decrypt, encrypt
 

Constructor Detail

AbstractSecurityHandler

public AbstractSecurityHandler()
Method Detail

getEncryption

public COSEncryption getEncryption()

init

public void init(STDocument document,
                 COSEncryption pEncryption)
          throws COSSecurityException
Specified by:
init in interface ISecurityHandler
Throws:
COSSecurityException

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.