de.intarsys.pdf.crypt
Class SystemSecurityHandler
java.lang.Object
de.intarsys.pdf.crypt.SystemSecurityHandler
- All Implemented Interfaces:
- ISystemSecurityHandler
- Direct Known Subclasses:
- SystemSecurityHandlerV0, SystemSecurityHandlerV1, SystemSecurityHandlerV2, SystemSecurityHandlerV3, SystemSecurityHandlerV4
public abstract class SystemSecurityHandler
- extends Object
- implements ISystemSecurityHandler
An abstract superclass for implementing the PDF standard security process.
create
public static ISystemSecurityHandler create(COSEncryption pEncryption)
getEncryption
public COSEncryption getEncryption()
getSecurityHandler
public ISecurityHandler getSecurityHandler()
- Specified by:
getSecurityHandler
in interface ISystemSecurityHandler
init
public void init(STDocument document,
COSEncryption encryption)
throws COSSecurityException
- Specified by:
init
in interface ISystemSecurityHandler
- Throws:
COSSecurityException
authenticate
public void authenticate(IPasswordProvider passwordProvider)
throws COSSecurityException
- Description copied from interface:
ISystemSecurityHandler
- Perform an authentication of the current "user" on behalf of the
information in the encryption dictionary.
In most situations this will consist of checking user/owner password and
setting the resulting access permissions.
- Specified by:
authenticate
in interface ISystemSecurityHandler
- Throws:
COSSecurityException
Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.