Package com.sun.jna.platform.win32
Class Sspi.SEC_WINNT_AUTH_IDENTITY
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.Sspi.SEC_WINNT_AUTH_IDENTITY
- Enclosing interface:
Sspi
@FieldOrder({"User","UserLength","Domain","DomainLength","Password","PasswordLength","Flags"})
public static class Sspi.SEC_WINNT_AUTH_IDENTITY
extends Structure
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.jna.Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
-
Field Summary
FieldsModifier and TypeFieldDescriptionA string that contains the domain name or the workgroup name.int
The length, in characters, of the domain string, not including the terminating null character.int
This member can be one of the following values.A string that contains the password of the user in the domain or workgroup.int
The length, in characters, of the password string, not including the terminating null character.A string that contains the user name.int
The length, in characters, of the user string, not including the terminating null character.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new SecBufferDesc with one SECBUFFER_EMPTY buffer. -
Method Summary
Methods inherited from class com.sun.jna.Structure
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
-
Field Details
-
User
A string that contains the user name. -
UserLength
public int UserLengthThe length, in characters, of the user string, not including the terminating null character. -
Domain
A string that contains the domain name or the workgroup name. -
DomainLength
public int DomainLengthThe length, in characters, of the domain string, not including the terminating null character. -
Password
A string that contains the password of the user in the domain or workgroup. When you have finished using the password, remove the sensitive information from memory by calling SecureZeroMemory. For more information about protecting the password, see Handling Passwords. -
PasswordLength
public int PasswordLengthThe length, in characters, of the password string, not including the terminating null character. -
Flags
public int FlagsThis member can be one of the following values.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.
-
-
Constructor Details
-
SEC_WINNT_AUTH_IDENTITY
public SEC_WINNT_AUTH_IDENTITY()Create a new SecBufferDesc with one SECBUFFER_EMPTY buffer.
-
-
Method Details