java.lang.Object
java.lang.Enum<SecurityDescriptorControlFlag>
org.cryptomator.frontend.dokany.internal.structure.filesecurity.SecurityDescriptorControlFlag
All Implemented Interfaces:
Serializable, Comparable<SecurityDescriptorControlFlag>, Constable, EnumInteger

public enum SecurityDescriptorControlFlag extends Enum<SecurityDescriptorControlFlag> implements EnumInteger
Enumeration of the different control flags that can be set in the header of a security descriptor The documentation is taken from the official Microsoft doc.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    DACL Computed Inheritance Required Set when the DACL is to be computed through inheritance.
    DACL Defaulted Set when the DACL was established by default means.
    DACL Auto-Inherited Set when the DACL was created through inheritance.
    DACL Present Set when the DACL is present on the object.
    DACL Trusted Set when the ACL that is pointed to by the DACL field was provided by a trusted source and does not require any editing of compound ACEs.
    Group Defaulted Set when the group was established by default means.
    Owner Defaulted Set when the owner was established by default means.
    DACL Protected Set when the DACL will be protected from inherit operations.
    SACL Protected Set when the SACL will be protected from inherit operations.
    RM Control Valid Set to 0x1 when the Sbz1 field is to be interpreted as resource manager control bits.
    SACL Computed Inheritance Required Set when the SACL is to be computed through inheritance.
    SACL Defaulted Set when the SACL was established by default means.
    SACL Auto-Inherited Set when the SACL was created through inheritance.
    SACL Present Set when the SACL is present on the object.
    Self-Relative Set when the security descriptor is in self-relative format.
    Server Security Set when the caller wants the system to create a Server ACL based on the input ACL, regardless of its source (explicit or defaulting).
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SR

      public static final SecurityDescriptorControlFlag SR
      Self-Relative Set when the security descriptor is in self-relative format. Cleared when the security descriptor is in absolute format.
    • RM

      public static final SecurityDescriptorControlFlag RM
      RM Control Valid Set to 0x1 when the Sbz1 field is to be interpreted as resource manager control bits.
    • PS

      public static final SecurityDescriptorControlFlag PS
      SACL Protected Set when the SACL will be protected from inherit operations.
    • PD

      public static final SecurityDescriptorControlFlag PD
      DACL Protected Set when the DACL will be protected from inherit operations.
    • SI

      public static final SecurityDescriptorControlFlag SI
      SACL Auto-Inherited Set when the SACL was created through inheritance.
    • DI

      public static final SecurityDescriptorControlFlag DI
      DACL Auto-Inherited Set when the DACL was created through inheritance.
    • SC

      public static final SecurityDescriptorControlFlag SC
      SACL Computed Inheritance Required Set when the SACL is to be computed through inheritance. When both SC and SI are set, the resulting security descriptor sets SI; the SC setting is not preserved.
    • DC

      public static final SecurityDescriptorControlFlag DC
      DACL Computed Inheritance Required Set when the DACL is to be computed through inheritance. When both DC and DI are set, the resulting security descriptor sets DI; the DC setting is not preserved.
    • SS

      public static final SecurityDescriptorControlFlag SS
      Server Security Set when the caller wants the system to create a Server ACL based on the input ACL, regardless of its source (explicit or defaulting).
    • DT

      public static final SecurityDescriptorControlFlag DT
      DACL Trusted Set when the ACL that is pointed to by the DACL field was provided by a trusted source and does not require any editing of compound ACEs.
    • SD

      public static final SecurityDescriptorControlFlag SD
      SACL Defaulted Set when the SACL was established by default means.
    • SP

      public static final SecurityDescriptorControlFlag SP
      SACL Present Set when the SACL is present on the object.
    • DD

      public static final SecurityDescriptorControlFlag DD
      DACL Defaulted Set when the DACL was established by default means.
    • DP

      public static final SecurityDescriptorControlFlag DP
      DACL Present Set when the DACL is present on the object.
    • GD

      public static final SecurityDescriptorControlFlag GD
      Group Defaulted Set when the group was established by default means.
    • OD

      public static final SecurityDescriptorControlFlag OD
      Owner Defaulted Set when the owner was established by default means.
  • Method Details

    • values

      public static SecurityDescriptorControlFlag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SecurityDescriptorControlFlag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getMask

      public int getMask()
      Specified by:
      getMask in interface EnumInteger