de.intarsys.pdf.crypt
Class StandardSecurityHandlerFactory
java.lang.Object
de.intarsys.pdf.crypt.StandardSecurityHandlerFactory
- All Implemented Interfaces:
- ISecurityHandlerFactory
public class StandardSecurityHandlerFactory
- extends Object
- implements ISecurityHandlerFactory
A standard implementation for the ISecurityHandlerFactory
.
CN_Standard
public static final COSName CN_Standard
DK_R
public static final COSName DK_R
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
Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.