public interface SecurityKeyPasswordInterface extends SecurityKey
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.
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getOwnerPassword()
Get the document owner's password.
|
byte[] |
getUserPassword()
Get the document user's password.
|
SecurityKeyPasswordInterface |
makeSecurityKey(CosDocument pdfDoc,
byte[] password,
SecurityProvidersImpl providers)
Create an object that represents this specified security password
for this specified PDF document.
|
getSecurityManagerSecurityKeyPasswordInterface makeSecurityKey(CosDocument pdfDoc, byte[] password, SecurityProvidersImpl providers) throws PDFSecurityException
Create an object that represents this specified security password for this specified PDF document.
pdfDoc - the PDF document representation for which to set the specified password.password - a byte array that holds the password for this document.PDFSecurityExceptionbyte[] getOwnerPassword()
throws PDFParseException,
PDFSecurityException
Return null if the document was unlocked with the user password.
PDFParseExceptionPDFSecurityExceptionbyte[] getUserPassword()
throws PDFParseException,
PDFSecurityException
PDFParseExceptionPDFSecurityExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved