com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class PasswordType

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.pdf.PasswordType


  • public final class PasswordType
    extends com.aspose.ms.System.Enum

    This enum represents known password types used for password protected pdf documents.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int Inaccessible
      Pdf document is password protected but both user and owner passwords are not empty and none of the passwords was defined or supplied password was incorrect.
      static int None
      Pdf document is not password protected.
      static int Owner
      Pdf document was opened using change permissions password (full access).
      static int User
      Pdf document was opened using document open password (restricted access).
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject
    • Field Detail

      • None

        public static final int None

        Pdf document is not password protected.

        See Also:
        Constant Field Values
      • User

        public static final int User

        Pdf document was opened using document open password (restricted access).

        See Also:
        Constant Field Values
      • Owner

        public static final int Owner

        Pdf document was opened using change permissions password (full access).

        See Also:
        Constant Field Values
      • Inaccessible

        public static final int Inaccessible

        Pdf document is password protected but both user and owner passwords are not empty and none of the passwords was defined or supplied password was incorrect. So it impossible to deduce the type of the password.

        See Also:
        Constant Field Values