intarsys PDF library API

de.intarsys.pdf.crypt
Class StandardSecurityHandlerFactory

java.lang.Object
  extended by de.intarsys.pdf.crypt.StandardSecurityHandlerFactory
All Implemented Interfaces:
ISecurityHandlerFactory

public class StandardSecurityHandlerFactory
extends Object
implements ISecurityHandlerFactory

A standard implementation for the ISecurityHandlerFactory.


Field Summary
static COSName CN_Standard
           
static COSName DK_R
           
 
Method Summary
 ISecurityHandler getSecurityHandler(COSEncryption encryption)
          Get a security handler instance compatible to the state defined in encryption.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CN_Standard

public static final COSName CN_Standard

DK_R

public static final COSName DK_R
Method Detail

getSecurityHandler

public ISecurityHandler getSecurityHandler(COSEncryption encryption)
                                    throws COSSecurityException
Description copied from interface: ISecurityHandlerFactory
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.

Specified by:
getSecurityHandler in interface ISecurityHandlerFactory
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.