java.lang.Object
org.codelibs.jcifs.smb.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb.dcerpc.rpc.sid_t
- Direct Known Subclasses:
SID
- Enclosing class:
- rpc
Security Identifier (SID) structure for DCE/RPC operations.
Represents a Windows security identifier used for access control.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]The identifier authority value (6 bytes)byteThe revision level of the SID structureint[]The array of sub-authority valuesbyteThe number of sub-authorities in the SID -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
revision
public byte revisionThe revision level of the SID structure -
sub_authority_count
public byte sub_authority_countThe number of sub-authorities in the SID -
identifier_authority
public byte[] identifier_authorityThe identifier authority value (6 bytes) -
sub_authority
public int[] sub_authorityThe array of sub-authority values
-
-
Constructor Details
-
sid_t
public sid_t()Default constructor for sid_t.
-
-
Method Details
-
encode
Description copied from class:NdrObjectEncodes this NDR object into the specified buffer- Specified by:
encodein classNdrObject- Parameters:
_dst- the destination buffer for encoding- Throws:
NdrException- if encoding fails
-
decode
Description copied from class:NdrObjectDecodes this NDR object from the specified buffer- Specified by:
decodein classNdrObject- Parameters:
_src- the source buffer for decoding- Throws:
NdrException- if decoding fails
-