Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/StandardSecurityHandler.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/StandardSecurityHandler.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/StandardSecurityHandler.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - + StandardSecurityHandler (Apache PDFBox 2.0.0-SNAPSHOT API) - + @@ -127,18 +127,12 @@ extends Field and Description -static byte[] -ENCRYPT_PADDING -
Standard padding for encryption.
- - - static String FILTER
Type of security handler.
- + static Class<?> PROTECTION_POLICY_CLASS
Protection policy class for this handler.
@@ -228,13 +222,6 @@ extends -void -decryptDocument(PDDocument doc, - DecryptionMaterial decryptionMaterial) -
Decrypt the document.
- - - byte[] getUserPassword(byte[] ownerPassword, byte[] owner, @@ -243,7 +230,7 @@ extends Get the user password based on the owner password. - + boolean isOwnerPassword(byte[] ownerPassword, byte[] user, @@ -256,7 +243,7 @@ extends Check for owner password. - + boolean isOwnerPassword(String password, byte[] user, @@ -269,7 +256,7 @@ extends Check for owner password. - + boolean isUserPassword(byte[] password, byte[] user, @@ -282,7 +269,7 @@ extends Check if a plaintext password is the user password. - + boolean isUserPassword(String password, byte[] user, @@ -295,13 +282,13 @@ extends Check if a plaintext password is the user password. - + void prepareDocumentForEncryption(PDDocument doc)
Prepare document for encryption.
- + void prepareForDecryption(PDEncryption encryption, COSArray documentIDArray, @@ -315,7 +302,7 @@ extends SecurityHandler -decryptArray, decryptStream, decryptString, encryptData, encryptData, encryptStream, encryptString, getCurrentAccessPermission, getKeyLength, isAES, proceedDecryption, setAES, setKeyLength +decrypt, decryptStream, encryptStream, encryptString, getCurrentAccessPermission, getKeyLength, isAES, < a href="../../../../../org/apache/pdfbox/pdmodel/encryption/SecurityHandler.html#setAES(boolean)">setAES, setKeyLength
  • @@ -352,23 +339,13 @@ extends -
      +
      • PROTECTION_POLICY_CLASS

        public static final Class<?> PROTECTION_POLICY_CLASS
        Protection policy class for this handler.
      - - - -
        -
      • -

        ENCRYPT_PADDING

        -
        public static final byte[] ENCRYPT_PADDING
        -
        Standard padding for encryption.
        -
      • -
    @@ -406,24 +383,6 @@ extends - - - @@ -436,8 +395,7 @@ extends IOException
    Prepares everything to decrypt the document. - Called from decryptDocument(PDDocument, DecryptionMaterial). - Only if decryption of single objects is needed this should be called instead.
    + Only if decryption of single objects is needed this should be called.
    Specified by:
    prepareForDecryption in class SecurityHandler
    @@ -583,7 +541,7 @@ extends IOException
    Check if a plaintext password is the user password.
    -
    Parameters:
    password - The plaintext password.
    user - The u entry of the encryption dictionary.
    owner - The o entry of the encryption dictionary.
    permissions - The permissions set in the the PDF.
    id - The document id used for encryption.
    encRevision - The revision of the encryption algorithm.
    length - The length of the encryption key.
    encryptMetadata - The encryption metadata
    +
    Parameters:
    password - The plaintext password.
    user - The u entry of the encryption dictionary.
    owner - The o entry of the encryption dictionary.
    permissions - The permissions set in the PDF.
    id - The document id used for encryption.
    encRevision - The revision of the encryption algorithm.
    length - The length of the encryption key.
    encryptMetadata - The encryption metadata
    Returns:
    true If the plaintext password is the user password.
    Throws:
    IOException - If there is an error accessing data.
    @@ -605,7 +563,7 @@ extends IOException
    Check if a plaintext password is the user password.
    -
    Parameters:
    password - The plaintext password.
    user - The u entry of the encryption dictionary.
    owner - The o entry of the encryption dictionary.
    permissions - The permissions set in the the PDF.
    id - The document id used for encryption.
    encRevision - The revision of the encryption algorithm.
    length - The length of the encryption key.
    encryptMetadata - The encryption metadata
    +
    Parameters:
    password - The plaintext password.
    user - The u entry of the encryption dictionary.
    owner - The o entry of the encryption dictionary.
    permissions - The permissions set in the PDF.
    id - The document id used for encryption.
    encRevision - The revision of the encryption algorithm.
    length - The length of the encryption key.
    encryptMetadata - The encryption metadata
    Returns:
    true If the plaintext password is the user password.
    Throws:
    IOException - If there is an error accessing data.
    Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/AccessPermission.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/AccessPermission.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/AccessPermission.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.pdfbox.pdmodel.encryption.AccessPermission (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/DecryptionMaterial.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/DecryptionMaterial.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/DecryptionMaterial.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.pdfbox.pdmodel.encryption.DecryptionMaterial (Apache PDFBox 2.0.0-SNAPSHOT API) - + @@ -77,12 +77,6 @@ -org.apache.pdfbox.pdmodel - -
    The PDModel package represents a high level API for creating and manipulating PDF documents.
    - - - org.apache.pdfbox.pdmodel.encryption
    The encryption package will handle the PDF document security handlers and the functionality of pluggable security handlers.
    @@ -93,26 +87,6 @@
    • -
    • - - -

      Uses of DecryptionMaterial in org.apache.pdfbox.pdmodel

      - - - - - - - - - - - - -
      Methods in org.apache.pdfbox.pdmodel with parameters of type DecryptionMaterial 
      Modifier and TypeMethod and Description
      voidPDDocument.openProtection(DecryptionMaterial decryptionMaterial) -
      Tries to decrypt the document in memory using the provided decryption material.
      -
      -
    • @@ -149,34 +123,13 @@ void -StandardSecurityHandler.decryptDocument(PDDocument doc, - DecryptionMaterial decryptionMaterial) -
      Decrypt the document.
      - - - -abstract void -SecurityHandler.decryptDocument(PDDocument doc, - DecryptionMaterial mat) -
      Prepare the document for decryption.
      - - - -void -PublicKeySecurityHandler.decryptDocument(PDDocument doc, - DecryptionMaterial decryptionMaterial) -
      Decrypt the document.
      - - - -void StandardSecurityHandler.prepareForDecryption(PDEncryption encryption, COSArray documentIDArray, DecryptionMaterial decryptionMaterial)
      Prepares everything to decrypt the document.
      - + abstract void SecurityHandler.prepareForDecryption(PDEncryption encryption, COSArray documentIDArray, @@ -184,7 +137,7 @@
      Prepares everything to decrypt the document.
      - + void PublicKeySecurityHandler.prepareForDecryption(PDEncryption encryption, COSArray documentIDArray, Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/InvalidPasswordException.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/InvalidPasswordException.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/InvalidPasswordException.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.pdfbox.pdmodel.encryption.InvalidPasswordException (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PDCryptFilterDictionary.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PDCryptFilterDictionary.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PDCryptFilterDictionary.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.pdfbox.pdmodel.encryption.PDCryptFilterDictionary (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PDEncryption.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PDEncryption.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PDEncryption.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.pdfbox.pdmodel.encryption.PDEncryption (Apache PDFBox 2.0.0-SNAPSHOT API) - + @@ -110,14 +110,6 @@
      This will get the encryption dictionary for this document.
      - -PDEncryption -PDDocument.getEncryptionDictionary() -
      Deprecated.  - -
      - - Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PDEncryptionDictionary.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PDEncryptionDictionary.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PDEncryptionDictionary.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - +Uses of Class org.apache.pdfbox.pdmodel.encryption.PDEncryptionDictionary (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/ProtectionPolicy.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/ProtectionPolicy.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/ProtectionPolicy.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - +Uses of Class org.apache.pdfbox.pdmodel.encryption.ProtectionPolicy (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PublicKeyDecryptionMaterial.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PublicKeyDecryptionMaterial.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PublicKeyDecryptionMaterial.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - +Uses of Class org.apache.pdfbox.pdmodel.encryption.PublicKeyDecryptionMaterial (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PublicKeyProtectionPolicy.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PublicKeyProtectionPolicy.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PublicKeyProtectionPolicy.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - +Uses of Class org.apache.pdfbox.pdmodel.encryption.PublicKeyProtectionPolicy (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PublicKeyRecipient.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PublicKeyRecipient.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PublicKeyRecipient.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - +Uses of Class org.apache.pdfbox.pdmodel.encryption.PublicKeyRecipient (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PublicKeySecurityHandler.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PublicKeySecurityHandler.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/PublicKeySecurityHandler.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - +Uses of Class org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/SecurityHandler.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/SecurityHandler.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/SecurityHandler.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - +Uses of Class org.apache.pdfbox.pdmodel.encryption.SecurityHandler (Apache PDFBox 2.0.0-SNAPSHOT API) - + @@ -83,12 +83,6 @@ - - - - - -
      org.apache.pdfbox.pdmodel -
      The PDModel package represents a high level API for creating and manipulating PDF documents.
      -
      org.apache.pdfbox.pdmodel.encryption
      The encryption package will handle the PDF document security handlers and the functionality of pluggable security handlers.
      @@ -112,51 +106,11 @@
      protected SecurityHandlerNonSequentialPDFParser.securityHandler +COSParser.securityHandler
      The security handler.
      -
    • -
    • - - -

      Uses of SecurityHandler in org.apache.pdfbox.pdmodel

      - - - - - - - - - - - - -
      Methods in org.apache.pdfbox.pdmodel that return SecurityHandler 
      Modifier and TypeMethod and Description
      SecurityHandlerPDDocument.getSecurityHandler() - -
      - - - - - - - - - - - -
      Methods in org.apache.pdfbox.pdmodel with parameters of type SecurityHandler 
      Modifier and TypeMethod and Description
      booleanPDDocument.setSecurityHandler(SecurityHandler securityHandler) -
      Deprecated.  -
      Use protection policies instead.
      -
      -
    • Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/SecurityHandlerFactory.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/SecurityHandlerFactory.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/SecurityHandlerFactory.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.pdfbox.pdmodel.encryption.SecurityHandlerFactory (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/StandardDecryptionMaterial.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/StandardDecryptionMaterial.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/StandardDecryptionMaterial.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.pdfbox.pdmodel.encryption.StandardDecryptionMaterial (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/StandardProtectionPolicy.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/StandardProtectionPolicy.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/StandardProtectionPolicy.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.pdfbox.pdmodel.encryption.StandardProtectionPolicy (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/StandardSecurityHandler.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/StandardSecurityHandler.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/class-use/StandardSecurityHandler.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/package-frame.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/package-frame.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/package-frame.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - + org.apache.pdfbox.pdmodel.encryption (Apache PDFBox 2.0.0-SNAPSHOT API) - + Modified: websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/package-summary.html ============================================================================== --- websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/package-summary.html (original) +++ websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/encryption/package-summary.html Mon Mar 30 05:53:07 2015 @@ -2,10 +2,10 @@ - + org.apache.pdfbox.pdmodel.encryption (Apache PDFBox 2.0.0-SNAPSHOT API) - + @@ -37,7 +37,7 @@