Package jcifs.internal.dtyp
Class SecurityDescriptor
- java.lang.Object
-
- jcifs.internal.dtyp.SecurityDescriptor
-
- All Implemented Interfaces:
Decodable,SecurityInfo
public class SecurityDescriptor extends Object implements SecurityInfo
Internal use only
-
-
Field Summary
-
Fields inherited from interface jcifs.internal.dtyp.SecurityInfo
ATTRIBUTE_SECURITY_INFO, BACKUP_SECURITY_INFO, DACL_SECURITY_INFO, GROUP_SECURITY_INFO, LABEL_SECURITY_INFO, OWNER_SECURITY_INFO, SACL_SECURITY_INFO, SCOPE_SECURITY_INFO
-
-
Constructor Summary
Constructors Constructor Description SecurityDescriptor()SecurityDescriptor(byte[] buffer, int bufferIndex, int len)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdecode(byte[] buffer, int bufferIndex, int len)ACE[]getAces()SIDgetOwnerGroupSid()SIDgetOwnerUserSid()intgetType()StringtoString()
-
-
-
Constructor Detail
-
SecurityDescriptor
public SecurityDescriptor()
-
SecurityDescriptor
public SecurityDescriptor(byte[] buffer, int bufferIndex, int len) throws IOException- Parameters:
buffer-bufferIndex-len-- Throws:
IOException
-
-
Method Detail
-
getType
public final int getType()
- Returns:
- the type
-
getAces
public final ACE[] getAces()
- Returns:
- the aces
-
getOwnerGroupSid
public final SID getOwnerGroupSid()
- Returns:
- the ownerGroupSid
-
getOwnerUserSid
public final SID getOwnerUserSid()
- Returns:
- the ownerUserSid
-
decode
public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException- Specified by:
decodein interfaceDecodable- Parameters:
buffer-bufferIndex-len-- Returns:
- decoded data length
- Throws:
SMBProtocolDecodingException
-
-