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

public enum SidIdentifierAuthority extends Enum<SidIdentifierAuthority> implements Byteable
Enumeration of Well known SidIdentifierAuthoritys
  • Enum Constant Details

    • NULL_SID_AUTHORITY

      public static final SidIdentifierAuthority NULL_SID_AUTHORITY
      Specifies the NULL SID authority. It defines only the NULL well-known-SID: S-1-0-0.
    • WORLD_SID_AUTHORITY

      public static final SidIdentifierAuthority WORLD_SID_AUTHORITY
      Specifies the World SID authority. It only defines the Everyone well-known-SID: S-1-1-0.
    • LOCAL_SID_AUTHORITY

      public static final SidIdentifierAuthority LOCAL_SID_AUTHORITY
      Specifies the Local SID authority. It defines only the Local well-known-SID: S-1-2-0.
    • CREATOR_SID_AUTHORITY

      public static final SidIdentifierAuthority CREATOR_SID_AUTHORITY
      Specifies the Creator SID authority. It defines the Creator Owner, Creator Group, and Creator Owner Server well-known-SIDs: S-1-3-0, S-1-3-1, and S-1-3-2. These SIDs are used as placeholders in an access control list (ACL) and are replaced by the user, group, and machine SIDs of the security principal.
    • NON_UNIQUE_AUTHORITY

      public static final SidIdentifierAuthority NON_UNIQUE_AUTHORITY
      Not used.
    • SECURITY_NT_AUTHORITY

      public static final SidIdentifierAuthority SECURITY_NT_AUTHORITY
      Specifies the Windows NT operating system security subsystem SID authority. It defines all other SIDs in the forest.
    • SECURITY_APP_PACKAGE_AUTHORITY

      public static final SidIdentifierAuthority SECURITY_APP_PACKAGE_AUTHORITY
      Specifies the application package authority. It defines application capability SIDs.
    • SECURITY_MANDATORY_LABEL_AUTHORITY

      public static final SidIdentifierAuthority SECURITY_MANDATORY_LABEL_AUTHORITY
      Specifies the Mandatory label authority. It defines the integrity level SIDs.
    • SECURITY_SCOPED_POLICY_ID_AUTHORITY

      public static final SidIdentifierAuthority SECURITY_SCOPED_POLICY_ID_AUTHORITY
      Specifies the Scoped Policy Authority. It defines all other scoped policy SIDs in the forest.
    • SECURITY_AUTHENTICATION_AUTHORITY

      public static final SidIdentifierAuthority SECURITY_AUTHENTICATION_AUTHORITY
      Specifies the authentication authority asserting the client’s identity. It defines only the following well-known SIDs: S-1-18-1, and S-1-18-2.
  • Method Details

    • values

      public static SidIdentifierAuthority[] 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 SidIdentifierAuthority 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
    • toByteArray

      public byte[] toByteArray()
      Specified by:
      toByteArray in interface Byteable
    • sizeOfByteArray

      public int sizeOfByteArray()
      Specified by:
      sizeOfByteArray in interface Byteable
    • fromInt

      public static SidIdentifierAuthority fromInt(int id)
      TODO: can be improved by exception handling
      Parameters:
      id -
      Returns: