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 classSID.SidType
-
Method Summary
Modifier and Type Method Description intbyteCount()booleanequals(java.lang.Object o)static SIDfromString(java.lang.String sidString)bytegetRevision()byte[]getSidIdentifierAuthority()long[]getSubAuthorities()inthashCode()static SIDread(SMBBuffer buffer)java.lang.StringtoString()Return the numeric representation of this sid such as S-1-5-21-1496946806-2192648263-3843101252-1029.voidwrite(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:
toStringin classjava.lang.Object
-
getRevision
public byte getRevision()
-
getSidIdentifierAuthority
public byte[] getSidIdentifierAuthority()
-
getSubAuthorities
public long[] getSubAuthorities()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-