Package com.hierynomus.msdtyp
Class SID
- java.lang.Object
-
- com.hierynomus.msdtyp.SID
-
public class SID extends java.lang.Object
[MS-DTYP].pdf 2.4.2 SecurityIdentifier SID
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SID.SidType
-
Method Summary
Modifier and Type Method Description int
byteCount()
boolean
equals(java.lang.Object o)
static SID
fromString(java.lang.String sidString)
byte
getRevision()
byte[]
getSidIdentifierAuthority()
long[]
getSubAuthorities()
int
hashCode()
static SID
read(SMBBuffer buffer)
java.lang.String
toString()
Return the numeric representation of this sid such as S-1-5-21-1496946806-2192648263-3843101252-1029.void
write(SMBBuffer buffer)
-
-
-
Field Detail
-
EVERYONE
public static final SID EVERYONE
-
-
Method Detail
-
fromString
public static SID fromString(java.lang.String sidString)
-
write
public void write(SMBBuffer buffer)
-
read
public static SID read(SMBBuffer buffer) throws Buffer.BufferException
- Throws:
Buffer.BufferException
-
byteCount
public int byteCount()
-
toString
public java.lang.String toString()
Return the numeric representation of this sid such as S-1-5-21-1496946806-2192648263-3843101252-1029.- Overrides:
toString
in classjava.lang.Object
-
getRevision
public byte getRevision()
-
getSidIdentifierAuthority
public byte[] getSidIdentifierAuthority()
-
getSubAuthorities
public long[] getSubAuthorities()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-