Enum Class SidIdentifierAuthority
java.lang.Object
java.lang.Enum<SidIdentifierAuthority>
org.cryptomator.frontend.dokany.internal.structure.filesecurity.SidIdentifierAuthority
- All Implemented Interfaces:
Serializable,Comparable<SidIdentifierAuthority>,Constable,Byteable
Enumeration of Well known SidIdentifierAuthoritys
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies the Creator SID authority.Specifies the Local SID authority.Not used.Specifies the NULL SID authority.Specifies the application package authority.Specifies the authentication authority asserting the client’s identity.Specifies the Mandatory label authority.Specifies the Windows NT operating system security subsystem SID authority.Specifies the Scoped Policy Authority.Specifies the World SID authority. -
Method Summary
Modifier and TypeMethodDescriptionstatic SidIdentifierAuthorityfromInt(int id) TODO: can be improved by exception handlingintbyte[]static SidIdentifierAuthorityReturns the enum constant of this class with the specified name.static SidIdentifierAuthority[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NULL_SID_AUTHORITY
Specifies the NULL SID authority. It defines only the NULL well-known-SID: S-1-0-0. -
WORLD_SID_AUTHORITY
Specifies the World SID authority. It only defines the Everyone well-known-SID: S-1-1-0. -
LOCAL_SID_AUTHORITY
Specifies the Local SID authority. It defines only the Local well-known-SID: S-1-2-0. -
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
Not used. -
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
Specifies the application package authority. It defines application capability SIDs. -
SECURITY_MANDATORY_LABEL_AUTHORITY
Specifies the Mandatory label authority. It defines the integrity level SIDs. -
SECURITY_SCOPED_POLICY_ID_AUTHORITY
Specifies the Scoped Policy Authority. It defines all other scoped policy SIDs in the forest. -
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
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
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 nameNullPointerException- if the argument is null
-
toByteArray
public byte[] toByteArray()- Specified by:
toByteArrayin interfaceByteable
-
sizeOfByteArray
public int sizeOfByteArray()- Specified by:
sizeOfByteArrayin interfaceByteable
-
fromInt
TODO: can be improved by exception handling- Parameters:
id-- Returns:
-