de.intarsys.pdf.crypt
Class StandardSecurityHandlerR2
java.lang.Object
de.intarsys.pdf.crypt.AbstractSecurityHandler
de.intarsys.pdf.crypt.StandardSecurityHandler
de.intarsys.pdf.crypt.StandardSecurityHandlerR2
- All Implemented Interfaces:
- IAccessPermissionsSupport, ICryptHandler, ISecurityHandler
public class StandardSecurityHandlerR2
- extends StandardSecurityHandler
The ISecurityHandler
implementing /R 2 of the PDF spec.
Methods inherited from class de.intarsys.pdf.crypt.StandardSecurityHandler |
apply, attach, authenticate, basicGetPermissionFlags, basicSetPermissionFlags, decrypt, detach, encrypt, getAccessPermissions, getAuthenticationHandler, getCryptKey, getPermissionFlags, initialize, isEncryptMetadata, setAuthenticationHandler, setEncryptMetadata, setOwnerPassword, setUserPassword |
DIGEST_ALGORITHM
public static final String DIGEST_ALGORITHM
- See Also:
- Constant Field Values
KEY_ALGORITHM
public static final String KEY_ALGORITHM
- See Also:
- Constant Field Values
CIPHER_ALGORITHM
public static final String CIPHER_ALGORITHM
- See Also:
- Constant Field Values
StandardSecurityHandlerR2
public StandardSecurityHandlerR2()
authenticateOwner
public boolean authenticateOwner(byte[] owner)
throws COSSecurityException
- Specified by:
authenticateOwner
in class StandardSecurityHandler
- Throws:
COSSecurityException
authenticateUser
public boolean authenticateUser(byte[] user)
throws COSSecurityException
- Specified by:
authenticateUser
in class StandardSecurityHandler
- Throws:
COSSecurityException
getRevision
public int getRevision()
- Specified by:
getRevision
in class StandardSecurityHandler
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.