Package com.hierynomus.msdtyp
Class SecurityDescriptor
- java.lang.Object
-
- com.hierynomus.msdtyp.SecurityDescriptor
-
public class SecurityDescriptor extends java.lang.Object[MS-DTYP].pdf 2.4.6 SecurityDescriptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecurityDescriptor.Control
-
Constructor Summary
Constructors Constructor Description SecurityDescriptor()SecurityDescriptor(java.util.Set<SecurityDescriptor.Control> control, SID ownerSid, SID groupSid, ACL sacl, ACL dacl)
-
Method Summary
Modifier and Type Method Description java.util.Set<SecurityDescriptor.Control>getControl()ACLgetDacl()SIDgetGroupSid()SIDgetOwnerSid()ACLgetSacl()static SecurityDescriptorread(SMBBuffer buffer)java.lang.StringtoString()voidwrite(SMBBuffer buffer)
-
-
-
Constructor Detail
-
SecurityDescriptor
public SecurityDescriptor()
-
SecurityDescriptor
public SecurityDescriptor(java.util.Set<SecurityDescriptor.Control> control, SID ownerSid, SID groupSid, ACL sacl, ACL dacl)
-
-
Method Detail
-
write
public void write(SMBBuffer buffer)
-
read
public static SecurityDescriptor read(SMBBuffer buffer) throws Buffer.BufferException
- Throws:
Buffer.BufferException
-
getControl
public java.util.Set<SecurityDescriptor.Control> getControl()
-
getOwnerSid
public SID getOwnerSid()
-
getGroupSid
public SID getGroupSid()
-
getSacl
public ACL getSacl()
-
getDacl
public ACL getDacl()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-