Class EncryptType

  • All Implemented Interfaces:
    AccessPermissionType

    public class EncryptType
    extends Object
    implements AccessPermissionType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">These parameters can be used to set encryption for a PDF document.</p>
     

    Java class for EncryptType complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="EncryptType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice>
             <element name="password" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <attribute name="encryptionKey" type="{http://schema.webpdf.de/1.0/operation}PdfEncryptionKeyType" default="RC4_128" />
                     <attribute name="permission" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
                     <attribute name="open" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </choice>
           <attGroup ref="{http://schema.webpdf.de/1.0/operation}securityFlags"/>
           <attribute name="contentEncryption" type="{http://schema.webpdf.de/1.0/operation}PdfContentEncryptionType" default="encryptEverything" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • password

        protected EncryptType.Password password
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the password for encryption and the encryption key length.</p>
         
      • contentEncryption

        protected PdfContentEncryptionType contentEncryption
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Specifies whether certain contents should be treated differently than others during encryption.
                                 <ul><li>encryptEverything = All contents of the document are encrypted without distinction (if provided by the standard).</li><li>exposeMetadata = The document's metadata is left unencrypted to make it discoverable by processing programs. (Has an effect only for 128 bit and 256 bit AES).</li></ul></p>
         
      • canAssemble

        protected Boolean canAssemble
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," the document can be rearranged (e.g., pages can be deleted, inserted, and rotated).</p>
         
      • canExtractContent

        protected Boolean canExtractContent
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," content can be extracted (copied) from the document.</p>
         
      • canExtractForAccessibility

        protected Boolean canExtractForAccessibility
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," content can be extracted (copied) for accessibility purposes.</p>
         
      • canFillInForm

        protected Boolean canFillInForm
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," form fields can be filled out and the document can be signed.</p>
         
      • canModify

        protected Boolean canModify
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," changes to the document are permitted.</p>
         
      • canModifyAnnotations

        protected Boolean canModifyAnnotations
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," comments can be added to the document and deleted from the document.</p>
         
      • canPrint

        protected Boolean canPrint
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," the document can be printed.</p>
         
      • canPrintHighRes

        protected Boolean canPrintHighRes
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," the document can be printed at high resolution levels.</p>
         
    • Constructor Detail

      • EncryptType

        public EncryptType()
    • Method Detail

      • getPassword

        public EncryptType.Password getPassword()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the password for encryption and the encryption key length.</p>
         
        Returns:
        possible object is EncryptType.Password
      • isSetPassword

        public boolean isSetPassword()
      • getContentEncryption

        public PdfContentEncryptionType getContentEncryption()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Specifies whether certain contents should be treated differently than others during encryption.
                                 <ul><li>encryptEverything = All contents of the document are encrypted without distinction (if provided by the standard).</li><li>exposeMetadata = The document's metadata is left unencrypted to make it discoverable by processing programs. (Has an effect only for 128 bit and 256 bit AES).</li></ul></p>
         
        Returns:
        possible object is PdfContentEncryptionType
      • isSetContentEncryption

        public boolean isSetContentEncryption()
      • isCanAssemble

        public boolean isCanAssemble()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," the document can be rearranged (e.g., pages can be deleted, inserted, and rotated).</p>
         
        Specified by:
        isCanAssemble in interface AccessPermissionType
        Returns:
        possible object is Boolean
      • setCanAssemble

        public void setCanAssemble​(boolean value)
        Sets the value of the canAssemble property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isCanAssemble()
      • isSetCanAssemble

        public boolean isSetCanAssemble()
      • unsetCanAssemble

        public void unsetCanAssemble()
      • isCanExtractContent

        public boolean isCanExtractContent()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," content can be extracted (copied) from the document.</p>
         
        Specified by:
        isCanExtractContent in interface AccessPermissionType
        Returns:
        possible object is Boolean
      • setCanExtractContent

        public void setCanExtractContent​(boolean value)
        Sets the value of the canExtractContent property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isCanExtractContent()
      • isSetCanExtractContent

        public boolean isSetCanExtractContent()
      • unsetCanExtractContent

        public void unsetCanExtractContent()
      • isCanExtractForAccessibility

        public boolean isCanExtractForAccessibility()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," content can be extracted (copied) for accessibility purposes.</p>
         
        Specified by:
        isCanExtractForAccessibility in interface AccessPermissionType
        Returns:
        possible object is Boolean
      • setCanExtractForAccessibility

        public void setCanExtractForAccessibility​(boolean value)
        Sets the value of the canExtractForAccessibility property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isCanExtractForAccessibility()
      • isSetCanExtractForAccessibility

        public boolean isSetCanExtractForAccessibility()
      • unsetCanExtractForAccessibility

        public void unsetCanExtractForAccessibility()
      • isCanFillInForm

        public boolean isCanFillInForm()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," form fields can be filled out and the document can be signed.</p>
         
        Specified by:
        isCanFillInForm in interface AccessPermissionType
        Returns:
        possible object is Boolean
      • setCanFillInForm

        public void setCanFillInForm​(boolean value)
        Sets the value of the canFillInForm property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isCanFillInForm()
      • isSetCanFillInForm

        public boolean isSetCanFillInForm()
      • unsetCanFillInForm

        public void unsetCanFillInForm()
      • isCanModify

        public boolean isCanModify()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," changes to the document are permitted.</p>
         
        Specified by:
        isCanModify in interface AccessPermissionType
        Returns:
        possible object is Boolean
      • setCanModify

        public void setCanModify​(boolean value)
        Sets the value of the canModify property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isCanModify()
      • isSetCanModify

        public boolean isSetCanModify()
      • unsetCanModify

        public void unsetCanModify()
      • isCanModifyAnnotations

        public boolean isCanModifyAnnotations()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," comments can be added to the document and deleted from the document.</p>
         
        Specified by:
        isCanModifyAnnotations in interface AccessPermissionType
        Returns:
        possible object is Boolean
      • setCanModifyAnnotations

        public void setCanModifyAnnotations​(boolean value)
        Sets the value of the canModifyAnnotations property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isCanModifyAnnotations()
      • isSetCanModifyAnnotations

        public boolean isSetCanModifyAnnotations()
      • unsetCanModifyAnnotations

        public void unsetCanModifyAnnotations()
      • isCanPrint

        public boolean isCanPrint()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," the document can be printed.</p>
         
        Specified by:
        isCanPrint in interface AccessPermissionType
        Returns:
        possible object is Boolean
      • setCanPrint

        public void setCanPrint​(boolean value)
        Sets the value of the canPrint property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isCanPrint()
      • isSetCanPrint

        public boolean isSetCanPrint()
      • unsetCanPrint

        public void unsetCanPrint()
      • isCanPrintHighRes

        public boolean isCanPrintHighRes()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," the document can be printed at high resolution levels.</p>
         
        Specified by:
        isCanPrintHighRes in interface AccessPermissionType
        Returns:
        possible object is Boolean
      • setCanPrintHighRes

        public void setCanPrintHighRes​(boolean value)
        Sets the value of the canPrintHighRes property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isCanPrintHighRes()
      • isSetCanPrintHighRes

        public boolean isSetCanPrintHighRes()
      • unsetCanPrintHighRes

        public void unsetCanPrintHighRes()