Class 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  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static SID EVERYONE  
    • Constructor Summary

      Constructors 
      Constructor Description
      SID()  
      SID​(byte revision, byte[] sidIdentifierAuthority, long[] subAuthorities)  
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • EVERYONE

        public static final SID EVERYONE
    • Constructor Detail

      • SID

        public SID()
      • SID

        public SID​(byte revision,
                   byte[] sidIdentifierAuthority,
                   long[] subAuthorities)
    • Method Detail

      • fromString

        public static SID fromString​(java.lang.String sidString)
      • write

        public void write​(SMBBuffer buffer)
      • 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 class java.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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object