Class OperationPdfPassword


  • public class OperationPdfPassword
    extends Object
    The `password` element can be used to set the user and owner passwords or certificates for the PDF document which are needed if the PDF document is protected. For example, if a protected PDF document is to be edited with the web service, then these settings can be used to provide the password or certificates for access.
    • Constructor Detail

      • OperationPdfPassword

        public OperationPdfPassword()
    • Method Detail

      • getKeyPair

        @Nullable
        public @Nullable OperationKeyPair getKeyPair()
        Get keyPair
        Returns:
        keyPair
      • getOpen

        @Nullable
        public @Nullable String getOpen()
        A password that is required to open the document. If the provided PDF document is protected in such a way that a password (user password) is required to read the document, the corresponding password must also be passed. Without this password it is not possible to edit the document with the web service, because it cannot be read.
        Returns:
        open
      • setOpen

        public void setOpen​(String open)
      • getPermission

        @Nullable
        public @Nullable String getPermission()
        A password that allows \"editing access\" to the document. If the provided PDF document is password protected and the web service operation is to edit the document, then the appropriate password (owner password) must be provided to unlock the document.
        Returns:
        permission
      • setPermission

        public void setPermission​(String permission)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object