| java.lang.Object org.pdfbox.pdmodel.encryption.SecurityHandler org.pdfbox.pdmodel.encryption.PublicKeySecurityHandler
PublicKeySecurityHandler | public class PublicKeySecurityHandler extends SecurityHandler (Code) | | This class implements the public key security handler
described in the PDF specification.
See Also: PDF See Also: Spec 1.6 p104 See Also: PublicKeyProtectionPolicy See Also: to see how to protect document with this security handler. author: Benoit Guillon (benoit.guillon@snv.jussieu.fr) version: $Revision: 1.3 $ |
Field Summary | |
final public static String | FILTER The filter name. |
FILTER | final public static String FILTER(Code) | | The filter name.
|
PublicKeySecurityHandler | public PublicKeySecurityHandler()(Code) | | Constructor.
|
PublicKeySecurityHandler | public PublicKeySecurityHandler(PublicKeyProtectionPolicy p)(Code) | | Constructor used for encryption.
Parameters: p - The protection policy. |
Methods inherited from org.pdfbox.pdmodel.encryption.SecurityHandler | abstract public void decryptDocument(PDDocument doc, DecryptionMaterial mat) throws CryptographyException, IOException(Code)(Java Doc) public void decryptStream(COSStream stream, long objNum, long genNum) throws CryptographyException, IOException(Code)(Java Doc) public void decryptString(COSString string, long objNum, long genNum) throws CryptographyException, IOException(Code)(Java Doc) public void encryptData(long objectNumber, long genNumber, InputStream data, OutputStream output) throws CryptographyException, IOException(Code)(Java Doc) public AccessPermission getCurrentAccessPermission()(Code)(Java Doc) public int getKeyLength()(Code)(Java Doc) abstract public void prepareDocumentForEncryption(PDDocument doc) throws CryptographyException, IOException(Code)(Java Doc) protected void proceedDecryption() throws IOException, CryptographyException(Code)(Java Doc) public void setKeyLength(int keyLen)(Code)(Java Doc)
|
|
|