Module jcifs

Class rpc.sid_t

java.lang.Object
org.codelibs.jcifs.smb1.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb1.dcerpc.rpc.sid_t
Direct Known Subclasses:
SID
Enclosing class:
rpc

public static class rpc.sid_t extends NdrObject
Security Identifier (SID) structure for DCE/RPC. Represents a Windows security identifier used in RPC operations.
  • Field Details

    • revision

      public byte revision
      The revision level of the SID structure.
    • sub_authority_count

      public byte sub_authority_count
      The number of sub-authorities in this SID.
    • identifier_authority

      public byte[] identifier_authority
      The identifier authority value (6 bytes).
    • sub_authority

      public int[] sub_authority
      Array of sub-authority values.
  • Constructor Details

    • sid_t

      public sid_t()
      Default constructor for sid_t.
  • Method Details

    • encode

      public void encode(NdrBuffer _dst) throws NdrException
      Description copied from class: NdrObject
      Encodes this NDR object into the specified buffer
      Specified by:
      encode in class NdrObject
      Parameters:
      _dst - the destination buffer for encoding
      Throws:
      NdrException - if encoding fails
    • decode

      public void decode(NdrBuffer _src) throws NdrException
      Description copied from class: NdrObject
      Decodes this NDR object from the specified buffer
      Specified by:
      decode in class NdrObject
      Parameters:
      _src - the source buffer for decoding
      Throws:
      NdrException - if decoding fails