@HasAPassword public class EncryptParameters extends MultiplePdfSourceMultipleOutputParameters
PdfSource
that will be encrypted using the same parameters.Constructor and Description |
---|
EncryptParameters(PdfEncryption encryptionAlgorithm) |
Modifier and Type | Method and Description |
---|---|
void |
addPermission(PdfAccessPermission permission)
adds a permission to the permissions set
|
void |
clearPermissions()
clear permissions
|
boolean |
equals(Object other) |
PdfEncryption |
getEncryptionAlgorithm() |
PdfVersion |
getMinRequiredPdfVersion() |
String |
getOwnerPassword() |
Set<PdfAccessPermission> |
getPermissions() |
String |
getUserPassword() |
int |
hashCode() |
void |
setOwnerPassword(String ownerPassword) |
void |
setUserPassword(String userPassword) |
getOutput, getOutputPrefix, setOutput, setOutputPrefix
addSource, addSources, getSourceList, removeAllSources
getVersion, isCompress, setCompress, setVersion
getExistingOutputPolicy, isLenient, setExistingOutputPolicy, setLenient, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExistingOutputPolicy, isLenient, setExistingOutputPolicy, setLenient
public EncryptParameters(PdfEncryption encryptionAlgorithm)
public String getOwnerPassword()
public void setOwnerPassword(String ownerPassword)
public String getUserPassword()
public void setUserPassword(String userPassword)
public PdfEncryption getEncryptionAlgorithm()
public Set<PdfAccessPermission> getPermissions()
public void clearPermissions()
public void addPermission(PdfAccessPermission permission)
permission
- public PdfVersion getMinRequiredPdfVersion()
getMinRequiredPdfVersion
in class AbstractPdfOutputParameters
public int hashCode()
hashCode
in class MultiplePdfSourceMultipleOutputParameters
public boolean equals(Object other)
equals
in class MultiplePdfSourceMultipleOutputParameters
Copyright © 2019 sejda. All rights reserved.