Interface SecurityLockPasswordInterface
- All Superinterfaces:
SecurityLock
Use this factory to create security locks compatible with a specific (or greater than)
version of Adobe Acrobat. Each instance of this class is document-specific.
Note: When the abstract methods declared in this class are implemented
by the user, they will be contained in the objects that newInstance() methods return.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the Security Manager that contains Security Handlers used to encrypt a PDF document.makeSecurityLock(byte[] owner, byte[] user, Map encryptParams, PermissionProvider encryptionPermissions, SecurityProvidersImpl providers) Methods inherited from interface com.adobe.internal.pdftoolkit.core.securityframework.SecurityLock
getEncryptParameters, setEncryptParameters, shouldEncrypt
-
Method Details
-
makeSecurityLock
SecurityLockPasswordInterface makeSecurityLock(byte[] owner, byte[] user, Map encryptParams, PermissionProvider encryptionPermissions, SecurityProvidersImpl providers) throws PDFSecurityException - Throws:
PDFSecurityException
-
getSecurityManager
SecurityManager getSecurityManager()Description copied from interface:SecurityLockReturn the Security Manager that contains Security Handlers used to encrypt a PDF document.- Specified by:
getSecurityManagerin interfaceSecurityLock- Returns:
- a
SecurityManagerobject. May returnnull.
-