jPod PDF library

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 the /Encrypt entry.
 
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 the /Encrypt entry.

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

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.