Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.encryption » [javadoc | source]
org.apache.pdfbox.pdmodel.encryption
public class: PublicKeySecurityHandler [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.encryption.SecurityHandler
      org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler
This class implements the public key security handler described in the PDF specification.
Field Summary
public static final  String FILTER    The filter name. 
Fields inherited from org.apache.pdfbox.pdmodel.encryption.SecurityHandler:
version,  keyLength,  encryptionKey,  document,  rc4,  currentAccessPermission
Constructor:
 public PublicKeySecurityHandler() 
 public PublicKeySecurityHandler(PublicKeyProtectionPolicy p) 
    Constructor used for encryption.
    Parameters:
    p - The protection policy.
Method from org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler Summary:
decryptDocument,   prepareDocumentForEncryption
Methods from org.apache.pdfbox.pdmodel.encryption.SecurityHandler:
decryptDocument,   decryptStream,   decryptString,   encryptData,   getCurrentAccessPermission,   getKeyLength,   prepareDocumentForEncryption,   proceedDecryption,   setKeyLength
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler Detail:
 public  void decryptDocument(PDDocument doc,
    DecryptionMaterial decryptionMaterial) throws CryptographyException, IOException 
    Decrypt the document.
 public  void prepareDocumentForEncryption(PDDocument doc) throws CryptographyException 
    Prepare the document for encryption.