jPod PDF library

de.intarsys.pdf.crypt
Class StandardSecurityHandlerR4

java.lang.Object
  extended by de.intarsys.pdf.crypt.AbstractSecurityHandler
      extended by de.intarsys.pdf.crypt.StandardSecurityHandler
          extended by de.intarsys.pdf.crypt.StandardSecurityHandlerR4
All Implemented Interfaces:
IAccessPermissionsSupport, ICryptHandler, ISecurityHandler

public class StandardSecurityHandlerR4
extends StandardSecurityHandler

The ISecurityHandler implementing /R 4 of the PDF spec.


Field Summary
static String CIPHER_ALGORITHM
           
static String DIGEST_ALGORITHM
           
static COSName DK_AuthEvent
           
static String KEY_ALGORITHM
           
 
Fields inherited from class de.intarsys.pdf.crypt.StandardSecurityHandler
DEFAULT_ACCESS_PERMISSIONS, DK_EncryptMetadata, DK_O, DK_P, DK_R, DK_U
 
Constructor Summary
StandardSecurityHandlerR4()
           
 
Method Summary
 boolean authenticateOwner(byte[] owner)
           
 boolean authenticateUser(byte[] user)
           
 int getRevision()
           
 
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
 
Methods inherited from class de.intarsys.pdf.crypt.AbstractSecurityHandler
cosGetEncryption, getEncryption, stGetDoc
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

DIGEST_ALGORITHM

public static final String DIGEST_ALGORITHM
See Also:
Constant Field Values

DK_AuthEvent

public static final COSName DK_AuthEvent
Constructor Detail

StandardSecurityHandlerR4

public StandardSecurityHandlerR4()
Method Detail

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

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.