intarsys PDF library API

de.intarsys.pdf.crypt
Interface ISecurityHandlerFactory

All Known Implementing Classes:
StandardSecurityHandlerFactory

public interface ISecurityHandlerFactory

A factory for creating an ISecurityHandler.


Method Summary
 ISecurityHandler getSecurityHandler(COSEncryption encryption)
          Get a security handler instance compatible to the state defined in encryption.
 

Method Detail

getSecurityHandler

ISecurityHandler getSecurityHandler(COSEncryption encryption)
                                    throws COSSecurityException
Get a security handler instance compatible to the state defined in encryption.

The security handler returned is associated in a 1:1 relationship with the encryption object.

Parameters:
encryption - The encryption object defining the state.
Returns:
Get a security handler instance compatible to the state defined in encryption.
Throws:
COSSecurityException

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.