Interface SecurityLockPasswordInterface
-
- All Superinterfaces:
SecurityLock
public interface SecurityLockPasswordInterface extends 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityManager
getSecurityManager()
Return the Security Manager that contains Security Handlers used to encrypt a PDF document.SecurityLockPasswordInterface
makeSecurityLock(byte[] owner, byte[] user, java.util.Map encryptParams, PermissionProvider encryptionPermissions, SecurityProvidersImpl providers)
-
Methods inherited from interface com.adobe.internal.pdftoolkit.core.securityframework.SecurityLock
getEncryptParameters, setEncryptParameters, shouldEncrypt
-
-
-
-
Method Detail
-
makeSecurityLock
SecurityLockPasswordInterface makeSecurityLock(byte[] owner, byte[] user, java.util.Map encryptParams, PermissionProvider encryptionPermissions, SecurityProvidersImpl providers) throws PDFSecurityException
- Throws:
PDFSecurityException
-
getSecurityManager
SecurityManager getSecurityManager()
Description copied from interface:SecurityLock
Return the Security Manager that contains Security Handlers used to encrypt a PDF document.- Specified by:
getSecurityManager
in interfaceSecurityLock
- Returns:
- a
SecurityManager
object. May returnnull
.
-
-