@Structure.FieldOrder(value={"User","UserLength","Domain","DomainLength","Password","PasswordLength","Flags"}) public static class Sspi.SEC_WINNT_AUTH_IDENTITY extends Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
Modifier and Type | Field and Description |
---|---|
java.lang.String |
Domain
A string that contains the domain name or the workgroup name.
|
int |
DomainLength
The length, in characters, of the domain string, not including the
terminating null character.
|
int |
Flags
This member can be one of the following values.
|
java.lang.String |
Password
A string that contains the password of the user in the domain or
workgroup.
|
int |
PasswordLength
The length, in characters, of the password string, not including the
terminating null character.
|
java.lang.String |
User
A string that contains the user name.
|
int |
UserLength
The length, in characters, of the user string, not including the
terminating null character.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
SEC_WINNT_AUTH_IDENTITY()
Create a new SecBufferDesc with one SECBUFFER_EMPTY buffer.
|
Modifier and Type | Method and Description |
---|---|
void |
write()
Writes the fields of the struct to native memory
|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, writeField, writeField, writeField
public java.lang.String User
public int UserLength
public java.lang.String Domain
public int DomainLength
public java.lang.String Password
public int PasswordLength
public int Flags
Value | Meaning |
---|---|
SEC_WINNT_AUTH_IDENTITY_ANSI | The strings in this structure are in ANSI format. |
SEC_WINNT_AUTH_IDENTITY_UNICODE | The strings in this structure are in Unicode format. |