41424344454647484950
super(memory); read(); } public DATA_BLOB(byte [] data) { pbData = new Memory(data.length); pbData.write(0, data, 0, data.length); cbData = data.length; allocateMemory(); }
307308309310311312313
public TOKEN_OWNER() { super(); } public TOKEN_OWNER(int size) { super(new Memory(size)); }
335336337338339340341342343
public PSID() { super(); } public PSID(byte[] data) { super(new Memory(data.length)); getPointer().write(0, data, 0, data.length); read(); }
341342343344345346347
getPointer().write(0, data, 0, data.length); read(); } public PSID(int size) { super(new Memory(size)); }
402403404405406407408
super(memory); read(); } public TOKEN_USER(int size) { super(new Memory(size)); }
433434435436437438439
super(memory); read(); } public TOKEN_GROUPS(int size) { super(new Memory(size)); }
1992199319941995199619971998
} public SECURITY_DESCRIPTOR(byte[] data) { super(); this.data = data; useMemory(new Memory(data.length)); }
207820792080208120822083208420852086
public SECURITY_DESCRIPTOR_RELATIVE() { } public SECURITY_DESCRIPTOR_RELATIVE(byte[] data) { super(new Memory(data.length)); getPointer().write(0, data, 0, data.length); setDacl(); }
264265266267268269270271
* @param size * Buffer size, eg. MAX_TOKEN_SIZE. */ public SecBuffer(int type, int size) { cbBuffer = size; pvBuffer = new Memory(size); BufferType = type; }
277278279280281282283284285
* @param token * Existing token. */ public SecBuffer(int type, byte[] token) { cbBuffer = token.length; pvBuffer = new Memory(token.length); pvBuffer.write(0, token, 0, token.length); BufferType = type; }