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 class
SecurityDescriptor.Control
-
Constructor Summary
Constructors Constructor Description SecurityDescriptor()
SecurityDescriptor(java.util.Set<SecurityDescriptor.Control> control, SID ownerSid, SID groupSid, ACL sacl, ACL dacl)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<SecurityDescriptor.Control>
getControl()
ACL
getDacl()
SID
getGroupSid()
SID
getOwnerSid()
ACL
getSacl()
static SecurityDescriptor
read(SMBBuffer buffer)
java.lang.String
toString()
void
write(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:
toString
in classjava.lang.Object
-
-