public class StandardSecurityHandlerR3 extends StandardSecurityHandler
ISecurityHandler implementing /R 3 of the PDF spec.| Modifier and Type | Field and Description |
|---|---|
static String |
CIPHER_ALGORITHM |
static String |
DIGEST_ALGORITHM |
static String |
KEY_ALGORITHM |
DEFAULT_ACCESS_PERMISSIONS, DK_EncryptMetadata, DK_O, DK_P, DK_R, DK_U| Constructor and Description |
|---|
StandardSecurityHandlerR3() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticateOwner(byte[] owner) |
boolean |
authenticateUser(byte[] user) |
int |
getRevision() |
apply, attach, authenticate, basicGetPermissionFlags, basicSetPermissionFlags, decrypt, detach, encrypt, getAccessPermissions, getAuthenticationHandler, getCryptKey, getPermissionFlags, initialize, isEncryptMetadata, setAuthenticationHandler, setEncryptMetadata, setOwnerPassword, setUserPasswordcosGetEncryption, getEncryption, stGetDocpublic static final String CIPHER_ALGORITHM
public static final String DIGEST_ALGORITHM
public static final String KEY_ALGORITHM
public boolean authenticateOwner(byte[] owner)
throws COSSecurityException
authenticateOwner in class StandardSecurityHandlerCOSSecurityExceptionpublic boolean authenticateUser(byte[] user)
throws COSSecurityException
authenticateUser in class StandardSecurityHandlerCOSSecurityExceptionpublic int getRevision()
getRevision in class StandardSecurityHandlerCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.